Last active
December 17, 2018 11:24
-
-
Save p-kaczynski/7d73f3ff1a147ab951da61282d58a510 to your computer and use it in GitHub Desktop.
pdc TypeScript definition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Type definitions for pdc 0.2.3 | |
// Definitions by: Paweł Kaczyński http://github.com/p-kaczynski | |
import { SpawnOptions, ChildProcess } from 'child_process' | |
declare function pdc(src: string, from: string, to: string, args: ReadonlyArray<string>, opts: SpawnOptions, cb: (...args: any[]) => void) : ChildProcess; | |
declare namespace pdc { | |
let path : string; | |
function stream(from: string, to: string, args?: ReadonlyArray<string>, opts?: SpawnOptions) : ChildProcess; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment