From adc74e5bd35a90a445300c938a7a2c9bceae56d9 Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 22 Mar 2019 20:23:39 +0000 Subject: [PATCH 1/2] Corrected a crucial typo on the definition of Options "capture" property --- types/child-process-promise/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/child-process-promise/index.d.ts b/types/child-process-promise/index.d.ts index b0ea0fccf5..20cf27de9a 100644 --- a/types/child-process-promise/index.d.ts +++ b/types/child-process-promise/index.d.ts @@ -38,7 +38,7 @@ export interface Options { * Pass an additional capture option to buffer the result of stdout and/or stderr * Default: [] */ - capture?: []|['stdout']|['stderr']|['stdout'|'stderr']|['stderr'|'stdout']; + capture?: []|['stdout'|'stderr']|['stdout','stderr']|['stderr','stdout']; /** * Array of the numbers that should be interpreted as successful execution codes * Default: [0] From 19422175c394163a25c736bde4133e1d4a15167a Mon Sep 17 00:00:00 2001 From: Luis Date: Fri, 22 Mar 2019 20:53:31 +0000 Subject: [PATCH 2/2] Added missing white spaces as asked by --- types/child-process-promise/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/child-process-promise/index.d.ts b/types/child-process-promise/index.d.ts index 20cf27de9a..344657f4f1 100644 --- a/types/child-process-promise/index.d.ts +++ b/types/child-process-promise/index.d.ts @@ -38,7 +38,7 @@ export interface Options { * Pass an additional capture option to buffer the result of stdout and/or stderr * Default: [] */ - capture?: []|['stdout'|'stderr']|['stdout','stderr']|['stderr','stdout']; + capture?: []|['stdout'|'stderr']|['stdout', 'stderr']|['stderr', 'stdout']; /** * Array of the numbers that should be interpreted as successful execution codes * Default: [0]