diff --git a/types/child-process-promise/child-process-promise-tests.ts b/types/child-process-promise/child-process-promise-tests.ts index c76f0c9a49..365e7e8f60 100644 --- a/types/child-process-promise/child-process-promise-tests.ts +++ b/types/child-process-promise/child-process-promise-tests.ts @@ -12,4 +12,4 @@ a.childProcess; // $ExpectType ChildProcess at.childProcess; // $ExpectType ChildProcess at.stdout; // $ExpectType string at.stderr; // $ExpectType string -})(); \ No newline at end of file +})(); diff --git a/types/child-process-promise/index.d.ts b/types/child-process-promise/index.d.ts index 533d00c4ea..7e4069cc03 100644 --- a/types/child-process-promise/index.d.ts +++ b/types/child-process-promise/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for child-process-promise 2.2.1 +// Type definitions for child-process-promise 2.2 // Project: https://github.com/patrick-steele-idem/child-process-promise // Definitions by: Luis Paulo // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -19,6 +19,9 @@ import { * Simple wrapper around the child_process module that makes use of promises */ +// stop exporting everything by default +export {} + interface PromiseResult { childProcess: ChildProcess; stdout: Enc; @@ -105,4 +108,4 @@ export function fork( modulePath: string, args?: ReadonlyArray, options?: Readonly -): ChildProcessPromise; \ No newline at end of file +): ChildProcessPromise;