[@types/node] add definition for child_process.execFile options

This commit is contained in:
Kyle Uehlein
2019-01-28 11:35:10 -05:00
parent 6a070320f2
commit 9c52db4e04
+2
View File
@@ -32,6 +32,7 @@
// Zane Hannan AU <https://github.com/ZaneHannanAU>
// Jeremie Rodriguez <https://github.com/jeremiergz>
// Samuel Ainsworth <https://github.com/samuela>
// Kyle Uehlein <https://github.com/kuehlein>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
/** inspector module types */
@@ -2886,6 +2887,7 @@ declare module "child_process" {
gid?: number;
windowsHide?: boolean;
windowsVerbatimArguments?: boolean;
shell?: boolean | string;
}
interface ExecFileOptionsWithStringEncoding extends ExecFileOptions {
encoding: BufferEncoding;