feat(build): Add rudimentary TS typings for broccoli.
This commit is contained in:
parent
785900f722
commit
4e2316c742
8
tools/broccoli/broccoli-writer.d.ts
vendored
Normal file
8
tools/broccoli/broccoli-writer.d.ts
vendored
Normal 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
18
tools/tsd.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user