Skip to content

Commit 42655ce

Browse files
clydinfilipesilva
authored andcommitted
build: enable no implicit this TS option
1 parent 89f6a5c commit 42655ce

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/@angular/cli/plugins/karma.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function requestBlocker() {
247247
}
248248

249249
// Strip the server address and webpack scheme (webpack://) from error log.
250-
const initSourcemapReporter: any = function (baseReporterDecorator: any) {
250+
const initSourcemapReporter: any = function (this: any, baseReporterDecorator: any) {
251251
baseReporterDecorator(this);
252252
const urlRegexp = /\(http:\/\/localhost:\d+\/_karma_webpack_\/webpack:\//gi;
253253

tsconfig.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"moduleResolution": "node",
99
"noEmitOnError": true,
1010
"noImplicitAny": true,
11+
"noImplicitThis": true,
1112
"noUnusedParameters": true,
1213
"noUnusedLocals": true,
1314
"outDir": "./dist",

0 commit comments

Comments
 (0)