You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gpt-pilot/scripts/watch-node.d.mts

15 lines
349 B
TypeScript

export function runWatchMain(params?: {
spawn?: (
cmd: string,
args: string[],
options: unknown,
) => {
on: (event: "exit", cb: (code: number | null, signal: string | null) => void) => void;
};
process?: NodeJS.Process;
cwd?: string;
args?: string[];
env?: NodeJS.ProcessEnv;
now?: () => number;
}): Promise<number>;