mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 12:56:46 +08:00
13 lines
459 B
TypeScript
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[];
|