Merge pull request #32552 from kuehlein/node-execFile-options

[@types/node] add definition for child_process.execFile options
This commit is contained in:
Pranav Senthilnathan
2019-01-28 16:31:59 -08:00
committed by GitHub
+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;