mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
392 B
TypeScript
10 lines
392 B
TypeScript
import * as shell from 'shelljs-exec-proxy';
|
|
|
|
shell.git.status(); // $ExpectType ExecOutputReturnValue
|
|
shell.git.add('.'); // $ExpectType ExecOutputReturnValue
|
|
shell.git.commit('-am', 'Fixed issue #1'); // $ExpectType ExecOutputReturnValue
|
|
shell.git.push('origin', 'master'); // $ExpectType ExecOutputReturnValue
|
|
|
|
shell.cd('string'); // $ExpectType ShellString
|
|
shell.cd(123); // $ExpectError
|