printable-shell-command 2.7.0 → 2.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -9,7 +9,7 @@ export type NodeWithCwd<T extends {
|
|
|
9
9
|
export interface WithSuccess {
|
|
10
10
|
success: Promise<void>;
|
|
11
11
|
}
|
|
12
|
-
export declare function spawnType(options?: NodeWithCwd<SpawnOptionsWithoutStdio>): ChildProcessWithoutNullStreams;
|
|
12
|
+
export declare function spawnType(options?: NodeWithCwd<SpawnOptionsWithoutStdio>): ChildProcessWithoutNullStreams & WithSuccess;
|
|
13
13
|
export declare function spawnType(options: NodeWithCwd<SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>>): ChildProcessByStdio<Writable, Readable, Readable> & WithSuccess;
|
|
14
14
|
export declare function spawnType(options: NodeWithCwd<SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioNull>>): ChildProcessByStdio<Writable, Readable, null> & WithSuccess;
|
|
15
15
|
export declare function spawnType(options: NodeWithCwd<SpawnOptionsWithStdioTuple<StdioPipe, StdioNull, StdioPipe>>): ChildProcessByStdio<Writable, null, Readable> & WithSuccess;
|
package/package.json
CHANGED
package/src/spawn.ts
CHANGED
|
@@ -23,7 +23,7 @@ export interface WithSuccess {
|
|
|
23
23
|
|
|
24
24
|
export declare function spawnType(
|
|
25
25
|
options?: NodeWithCwd<SpawnOptionsWithoutStdio>,
|
|
26
|
-
): ChildProcessWithoutNullStreams;
|
|
26
|
+
): ChildProcessWithoutNullStreams & WithSuccess;
|
|
27
27
|
export declare function spawnType(
|
|
28
28
|
options: NodeWithCwd<
|
|
29
29
|
SpawnOptionsWithStdioTuple<StdioPipe, StdioPipe, StdioPipe>
|