mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-13 14:09:06 -05:00
Updated test cases.
This commit is contained in:
@@ -17,3 +17,7 @@ function f3(z: number): number {
|
||||
|
||||
// error: `this` is `window`, but is still of type `any`
|
||||
let f4: (b: number) => number = b => this.c + b;
|
||||
let f5 = () => () => this;
|
||||
|
||||
let f6 = function() { return () => this; };
|
||||
let f7 = function() { return function() { return this } };
|
||||
|
||||
Reference in New Issue
Block a user