mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-24 05:06:02 +08:00
18 lines
284 B
TypeScript
18 lines
284 B
TypeScript
|
|
|
|
|
|
import * as gulp from "gulp";
|
|
import * as tsd from "gulp-tsd";
|
|
|
|
gulp.task("tsd", () => {
|
|
gulp.src("gulp_tsd.json")
|
|
.pipe(tsd());
|
|
});
|
|
|
|
gulp.task("tsd:options", (callback: any) => {
|
|
tsd({
|
|
command: "reinstall",
|
|
config: "tsd.json"
|
|
}, callback);
|
|
});
|