X Tutup
Skip to content

Commit 85c1927

Browse files
committed
build(broccoli): AngularBuilder compiles with TypeScript 1.8+.
Beginning with 1.8, if a modules has both a .ts and .d.ts file, the .js file is not written. Closes angular#7947
1 parent a596b88 commit 85c1927

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

tools/broccoli/angular_builder.d.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

tools/broccoli/angular_builder.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ export type Options = {
1717
useBundles: boolean;
1818
};
1919

20+
export interface AngularBuilderOptions {
21+
outputPath: string;
22+
dartSDK?: any;
23+
logs?: any;
24+
}
25+
2026
/**
2127
* BroccoliBuilder facade for all of our build pipelines.
2228
*/

tools/broccoli/trees/dart_tree.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
/// <reference path="../../typings/node/node.d.ts" />
2-
/// <reference path="../angular_builder.d.ts" />
32
'use strict';
43

54
import {MultiCopy} from './../multi_copy';
@@ -12,6 +11,7 @@ var stew = require('broccoli-stew');
1211
import ts2dart from '../broccoli-ts2dart';
1312
import dartfmt from '../broccoli-dartfmt';
1413
import replace from '../broccoli-replace';
14+
import {AngularBuilderOptions} from '../angular_builder';
1515

1616
var global_excludes = [
1717
'angular2/examples/**/ts/**/*',

0 commit comments

Comments
 (0)
X Tutup