diff --git a/types/child-process-promise/index.d.ts b/types/child-process-promise/index.d.ts index b0ea0fccf5..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]