We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c0531c7 commit dc1fbc2Copy full SHA for dc1fbc2
tests/cases/compiler/noImplicitThisFunctions.ts
@@ -17,3 +17,7 @@ function f3(z: number): number {
17
18
// error: `this` is `window`, but is still of type `any`
19
let f4: (b: number) => number = b => this.c + b;
20
+let f5 = () => () => this;
21
+
22
+let f6 = function() { return () => this; };
23
+let f7 = function() { return function() { return this } };
0 commit comments