npm install --save @types/npm-run
This package contains type definitions for npm-run (https://github.com/timoxley/npm-run).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/npm-run.
/// <reference types="node" />
import { exec, execSync, spawn, spawnSync } from "child_process";
type ExecFunction = typeof exec;
interface Runner extends ExecFunction {
exec: ExecFunction;
sync: typeof execSync;
execSync: typeof execSync;
spawnSync: typeof spawnSync;
spawn: typeof spawn;
}
declare let npmRun: Runner;
export = npmRun;
- Last updated: Mon, 05 May 2025 19:02:21 GMT
- Dependencies: @types/node
These definitions were written by .