Skip to content

Commit b0489d5

Browse files
clydinfilipesilva
authored andcommitted
build: update to use TS 2.6
1 parent c61e01f commit b0489d5

File tree

8 files changed

+170
-89
lines changed

8 files changed

+170
-89
lines changed

package-lock.json

Lines changed: 156 additions & 63 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
"stylus": "^0.54.5",
9292
"stylus-loader": "^3.0.1",
9393
"tree-kill": "^1.0.0",
94-
"typescript": "~2.4.2",
94+
"typescript": "^2.6.2",
9595
"uglifyjs-webpack-plugin": "^1.1.5",
9696
"url-loader": "^0.6.2",
9797
"webpack": "~3.10.0",
@@ -102,10 +102,11 @@
102102
"webpack-subresource-integrity": "^1.0.1"
103103
},
104104
"devDependencies": {
105-
"@angular/compiler": "^5.0.0",
106-
"@angular/compiler-cli": "^5.0.0",
107-
"@angular/core": "^5.0.0",
108-
"@angular/service-worker": "^5.0.0",
105+
"@angular/common": "^5.2.0",
106+
"@angular/compiler": "^5.2.0",
107+
"@angular/compiler-cli": "^5.2.0",
108+
"@angular/core": "^5.2.0",
109+
"@angular/service-worker": "^5.2.0",
109110
"@types/common-tags": "^1.2.4",
110111
"@types/copy-webpack-plugin": "^4.0.0",
111112
"@types/denodeify": "^1.2.30",
@@ -140,8 +141,8 @@
140141
"tar": "^4.1.1",
141142
"temp": "0.8.3",
142143
"through": "^2.3.6",
143-
"ts-node": "^3.2.0",
144-
"tslint": "^5.1.0",
144+
"ts-node": "^4.1.0",
145+
"tslint": "^5.8.0",
145146
"zone.js": "^0.8.20"
146147
},
147148
"optionalDependencies": {

packages/@ngtools/webpack/src/angular_compiler_plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import {
3939
Program,
4040
CompilerOptions,
4141
CompilerHost,
42-
Diagnostics,
42+
Diagnostic,
4343
EmitFlags,
4444
LazyRoute,
4545
createProgram,
@@ -895,7 +895,7 @@ export class AngularCompilerPlugin implements Tapable {
895895
private _emit(sourceFiles: ts.SourceFile[]) {
896896
time('AngularCompilerPlugin._emit');
897897
const program = this._program;
898-
const allDiagnostics: Diagnostics = [];
898+
const allDiagnostics: Array<ts.Diagnostic | Diagnostic> = [];
899899

900900
let emitResult: ts.EmitResult | undefined;
901901
try {

0 commit comments

Comments
 (0)