@types/npm-run
TypeScript icon, indicating that this package has built-in type declarations

5.0.3 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/npm-run

Weekly Downloads

497

Version

5.0.3

License

MIT

Unpacked Size

3.32 kB

Total Files

5

Last publish

Collaborators

  • types