Skip to content

Commit 8b9fc1b

Browse files
author
Michael Lehenbauer
committed
Firestore: Enable noImplicitThis in tsconfig. (#2068)
1 parent 1020ea5 commit 8b9fc1b

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

packages/firestore/test/util/equality_matcher.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export function addEqualityMatcher(): void {
8787
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
8888
const assertEql = (_super: (r: unknown, l: unknown) => boolean) => {
8989
originalFunction = originalFunction || _super;
90-
return function(...args: unknown[]): void {
90+
return function(this: unknown, ...args: unknown[]): void {
9191
if (isActive) {
9292
const [expected, msg] = args;
9393
utils.flag(this, 'message', msg);

packages/firestore/tsconfig.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"extends": "../../config/tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "dist",
5-
"noImplicitThis": false,
65
"strictBindCallApply": false,
76
"strictPropertyInitialization": false
87
},

0 commit comments

Comments
 (0)