TypeScript/tests/baselines/reference/noCollisionThisExpressionAndVarInGlobal.types

10 lines
197 B
Text
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/noCollisionThisExpressionAndVarInGlobal.ts ===
var _this = 1;
>_this : number
var f = () => _this;
>f : () => number
>() => _this : () => number
>_this : number