10 lines
No EOL
325 B
Text
10 lines
No EOL
325 B
Text
tests/cases/compiler/topLevelLambda.ts(2,17): error TS2331: 'this' cannot be referenced in a module body.
|
|
|
|
|
|
==== tests/cases/compiler/topLevelLambda.ts (1 errors) ====
|
|
module M {
|
|
var f = () => {this.window;}
|
|
~~~~
|
|
!!! error TS2331: 'this' cannot be referenced in a module body.
|
|
}
|
|
|