Installation
npm install --save @types/npm-run
Summary
This package contains type definitions for npm-run (https://github.com/timoxley/npm-run).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/npm-run.
index.d.ts
/// <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;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node
Credits
These definitions were written by Manuel Thalmann.