[node] rename defaultEncoding option property to encoding. Turn-off no-var dtslint rule. (#19175)

This commit is contained in:
Aleh Zasypkin
2017-09-08 08:06:14 -07:00
committed by Andy
parent 0a02fbe82a
commit ceebd7b2ed
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4227,7 +4227,7 @@ declare module "fs" {
*/
export function createWriteStream(path: PathLike, options?: string | {
flags?: string;
defaultEncoding?: string;
encoding?: string;
fd?: number;
mode?: number;
autoClose?: boolean;