Skip to content

Commit 36dac99

Browse files
Accepted baselines.
1 parent 64d01d8 commit 36dac99

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/baselines/reference/noImplicitThisFunctions.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/compiler/noImplicitThisFunctions.ts(13,12): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
1+
tests/cases/compiler/noImplicitThisFunctions.ts(13,12): error TS7041: The containing arrow function captures the global value of 'this' which implicitly has type 'any'.
22
tests/cases/compiler/noImplicitThisFunctions.ts(17,38): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
33

44

@@ -17,7 +17,7 @@ tests/cases/compiler/noImplicitThisFunctions.ts(17,38): error TS2683: 'this' imp
1717
// error: this is implicitly any
1818
return this.a + z;
1919
~~~~
20-
!!! error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
20+
!!! error TS7041: The containing arrow function captures the global value of 'this' which implicitly has type 'any'.
2121
}
2222

2323
// error: `this` is `window`, but is still of type `any`

tests/baselines/reference/thisBinding2.errors.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tests/cases/compiler/thisBinding2.ts(10,11): error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
1+
tests/cases/compiler/thisBinding2.ts(10,11): error TS7041: The containing arrow function captures the global value of 'this' which implicitly has type 'any'.
22

33

44
==== tests/cases/compiler/thisBinding2.ts (1 errors) ====
@@ -13,7 +13,7 @@ tests/cases/compiler/thisBinding2.ts(10,11): error TS2683: 'this' implicitly has
1313
var x = 1;
1414
return this.x;
1515
~~~~
16-
!!! error TS2683: 'this' implicitly has type 'any' because it does not have a type annotation.
16+
!!! error TS7041: The containing arrow function captures the global value of 'this' which implicitly has type 'any'.
1717
}();
1818
}
1919
}

0 commit comments

Comments
 (0)