1- import shelljs = require( "./index" ) ;
1+ import "./global" ;
2+
23declare global {
34 interface Target {
45 ( ...args : any [ ] ) : void ;
@@ -7,38 +8,6 @@ declare global {
78 }
89 const target : {
910 all ?: Target ;
10- [ s : string ] : Target ;
11+ [ s : string ] : Target | undefined ;
1112 } ;
12-
13- const cat : typeof shelljs . cat ;
14- const cd : typeof shelljs . cd ;
15- const chmod : typeof shelljs . chmod ;
16- const cmd : typeof shelljs . cmd ;
17- const config : typeof shelljs . config ;
18- const cp : typeof shelljs . cp ;
19- const dirs : typeof shelljs . dirs ;
20- const echo : typeof shelljs . echo ;
21- const env : typeof shelljs . env ;
22- const error : typeof shelljs . error ;
23- const exec : typeof shelljs . exec ;
24- const exit : typeof shelljs . exit ;
25- const find : typeof shelljs . find ;
26- const grep : typeof shelljs . grep ;
27- const head : typeof shelljs . head ;
28- const ln : typeof shelljs . ln ;
29- const ls : typeof shelljs . ls ;
30- const mkdir : typeof shelljs . mkdir ;
31- const mv : typeof shelljs . mv ;
32- const popd : typeof shelljs . popd ;
33- const pushd : typeof shelljs . pushd ;
34- const pwd : typeof shelljs . pwd ;
35- const rm : typeof shelljs . rm ;
36- const sed : typeof shelljs . sed ;
37- const set : typeof shelljs . set ;
38- const sort : typeof shelljs . sort ;
39- const tail : typeof shelljs . tail ;
40- const tempdir : typeof shelljs . tempdir ;
41- const touch : typeof shelljs . touch ;
42- const uniq : typeof shelljs . uniq ;
43- const ShellString : typeof shelljs . ShellString ;
4413}
0 commit comments