feat(build): Add rudimentary TS typings for broccoli.

This commit is contained in:
Martin Probst 2015-04-10 16:26:37 -07:00
parent 785900f722
commit 4e2316c742
2 changed files with 26 additions and 0 deletions

8
tools/broccoli/broccoli-writer.d.ts vendored Normal file
View File

@ -0,0 +1,8 @@
/// <reference path="../typings/es6-promise/es6-promise.d.ts" />
declare class Writer {
write(readTree: (tree) => Promise<string>, destDir: string);
}
export = Writer;

18
tools/tsd.json Normal file
View File

@ -0,0 +1,18 @@
{
"version": "v4",
"repo": "angular/DefinitelyTyped",
"ref": "master",
"path": "typings",
"bundle": "typings/tsd.d.ts",
"installed": {
"fs-extra/fs-extra.d.ts": {
"commit": "d5f92f93bdb49f332fa662ff1d0cc8700f02e4dc"
},
"node/node.d.ts": {
"commit": "d5f92f93bdb49f332fa662ff1d0cc8700f02e4dc"
},
"es6-promise/es6-promise.d.ts": {
"commit": "d5f92f93bdb49f332fa662ff1d0cc8700f02e4dc"
}
}
}