UNPKG

neon-cli

Version:

Build and load native Rust/Neon modules.

6 lines (5 loc) 455 B
/// <reference types="node" /> import * as childProcess from "child_process"; export declare type Toolchain = "default" | "stable" | "nightly" | "beta"; export declare function spawnSync(tool: string, args: string[], toolchain?: Toolchain, options?: childProcess.SpawnOptions): childProcess.SpawnSyncReturns<Buffer>; export declare function spawn(tool: string, args: string[], toolchain?: Toolchain, options?: childProcess.SpawnOptions): Promise<number>;