mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-25 16:11:24 +08:00
18 lines
366 B
TypeScript
18 lines
366 B
TypeScript
/// <reference path="./gulp-tsd.d.ts" />
|
|
/// <reference path="../gulp/gulp.d.ts" />
|
|
|
|
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);
|
|
});
|