Files
DefinitelyTyped/types/shell-quote/index.d.ts
2017-07-11 10:20:17 -04:00

13 lines
459 B
TypeScript

// Type definitions for shell-quote 1.6
// Project: https://github.com/substack/node-shell-quote
// Definitions by: Jason Cheatham <https://github.com/jason0x43>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.2
export function quote(args: string[]): string;
export function parse(
cmd: string,
env?: { [key: string]: string } | ((key: string) => string | object),
opts?: { [key: string]: string }
): string[];