Skip to content

Commit

Permalink
- adds type.
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennenoel committed Dec 9, 2024
1 parent e4e78f5 commit 2d21dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/cli/src/managers/shell.manager.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {exec, spawn} from "child_process";
import {ChildProcessWithoutNullStreams, exec, spawn} from "child_process";
import {ConsoleManager} from "./console.manager";
import {injectable} from "tsyringe";
import {PathManager} from "@pristine-ts/core";
Expand All @@ -19,7 +19,7 @@ export class ShellManager {
outputStderr?: boolean,
outputDuration?: boolean,
outputTimeBeforeExecutingCommand?: boolean,
childProcessHandleCallback?: (childProcessHandle: any) => void
childProcessHandleCallback?: (childProcessHandle: ChildProcessWithoutNullStreams) => void
}): Promise<string> {
return new Promise<string>((resolve, reject) => {
const env = process.env;
Expand Down

0 comments on commit 2d21dc2

Please sign in to comment.