mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
This should allow a developer to write a gulpfile in TypeScript to compile a TypeScript project.
15 lines
394 B
TypeScript
15 lines
394 B
TypeScript
/// <reference path="./gulp-typedoc.d.ts"/>
|
|
/// <reference path="../gulp/gulp.d.ts"/>
|
|
import gulp = require("gulp");
|
|
import typedoc = require("gulp-typedoc");
|
|
|
|
gulp.task("typedoc", function() {
|
|
return gulp
|
|
.src(["data/*.ts"])
|
|
.pipe(typedoc({
|
|
module: "commonjs",
|
|
out: "./out",
|
|
name: "my-project",
|
|
target: "es5"
|
|
}));
|
|
}); |