Skip to content

Commit 69d3d2b

Browse files
Charles Lydingfilipesilva
Charles Lyding
authored andcommitted
feat(@angular/cli): support TypeScript 2.3
1 parent 8c78fb9 commit 69d3d2b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@
9292
"stylus": "^0.54.5",
9393
"stylus-loader": "^3.0.1",
9494
"temp": "0.8.3",
95-
"typescript": "~2.2.0",
95+
"typescript": "~2.3.1",
9696
"url-loader": "^0.5.7",
9797
"walk-sync": "^0.3.1",
9898
"webpack": "~2.4.0",

packages/@angular/cli/blueprints/ng/files/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@
4242
"protractor": "~5.1.0",
4343
"ts-node": "~2.0.0",
4444
"tslint": "~5.1.0",
45-
"typescript": "~2.2.0"
45+
"typescript": "~2.3.1"
4646
}
4747
}

packages/@angular/cli/lib/ast-tools/node.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export function findNodes(node: ts.Node, kind: ts.SyntaxKind, max: number = Infi
4040
export function removeAstNode(node: ts.Node): Change {
4141
const source = node.getSourceFile();
4242
return new RemoveChange(
43-
source.path,
43+
(source as any).path,
4444
node.getStart(source),
4545
node.getFullText(source)
4646
);

packages/@angular/cli/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
"stylus": "^0.54.5",
7878
"stylus-loader": "^3.0.1",
7979
"temp": "0.8.3",
80-
"typescript": ">=2.0.0 <2.3.0",
80+
"typescript": ">=2.0.0 <2.4.0",
8181
"url-loader": "^0.5.7",
8282
"walk-sync": "^0.3.1",
8383
"webpack": "~2.4.0",

0 commit comments

Comments
 (0)