7 lines
No EOL
200 B
Text
7 lines
No EOL
200 B
Text
==== tests/cases/compiler/topLevelLambda.ts (1 errors) ====
|
|
module M {
|
|
var f = () => {this.window;}
|
|
~~~~
|
|
!!! 'this' cannot be referenced in a module body.
|
|
}
|
|
|