mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-07 00:07:07 +00:00
Merge pull request #31134 from DefinitelyTyped/add-shelljs-make
Add shelljs/make to shelljs
This commit is contained in:
Vendored
+41
@@ -0,0 +1,41 @@
|
||||
import * as shelljs from './';
|
||||
declare global {
|
||||
interface Target {
|
||||
(...args: any[]): void;
|
||||
result?: any;
|
||||
done?: boolean;
|
||||
}
|
||||
const target: {
|
||||
all?: Target;
|
||||
[s: string]: Target;
|
||||
};
|
||||
const cd: typeof shelljs.cd;
|
||||
const pwd: typeof shelljs.pwd;
|
||||
const ls: typeof shelljs.ls;
|
||||
const find: typeof shelljs.find;
|
||||
const cp: typeof shelljs.cp;
|
||||
const rm: typeof shelljs.rm;
|
||||
const mv: typeof shelljs.mv;
|
||||
const mkdir: typeof shelljs.mkdir;
|
||||
const cat: typeof shelljs.cat;
|
||||
const sed: typeof shelljs.sed;
|
||||
const grep: typeof shelljs.grep;
|
||||
const echo: typeof shelljs.echo;
|
||||
const pushd: typeof shelljs.pushd;
|
||||
const popd: typeof shelljs.popd;
|
||||
const dirs: typeof shelljs.dirs;
|
||||
const ln: typeof shelljs.ln;
|
||||
const exit: typeof shelljs.exit;
|
||||
const env: typeof shelljs.env;
|
||||
const exec: typeof shelljs.exec;
|
||||
const chmod: typeof shelljs.chmod;
|
||||
const tempdir: typeof shelljs.tempdir;
|
||||
const error: typeof shelljs.error;
|
||||
const touch: typeof shelljs.touch;
|
||||
const head: typeof shelljs.head;
|
||||
const sort: typeof shelljs.sort;
|
||||
const tail: typeof shelljs.tail;
|
||||
const uniq: typeof shelljs.uniq;
|
||||
const set: typeof shelljs.set;
|
||||
const config: typeof shelljs.config;
|
||||
}
|
||||
@@ -18,6 +18,7 @@
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"make.d.ts",
|
||||
"shelljs-tests.ts"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user