mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
18 lines
551 B
TypeScript
18 lines
551 B
TypeScript
// Type definitions for shelljs-exec-proxy 0.1
|
|
// Project: https://github.com/nfischer/shelljs-exec-proxy#readme
|
|
// Definitions by: Nikita Volodin <https://github.com/qlonik>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.2
|
|
|
|
import * as shelljs from 'shelljs';
|
|
|
|
interface Exec {
|
|
(...command: string[]): shelljs.ExecOutputReturnValue;
|
|
[k: string]: Exec;
|
|
}
|
|
|
|
type ShelljsExecProxy = { [k: string]: Exec } & typeof shelljs;
|
|
|
|
declare const shelljsExecProxy: ShelljsExecProxy;
|
|
export = shelljsExecProxy;
|