TypeScript/tests/baselines/reference/noCollisionThisExpressionAndClassInGlobal.types
2014-08-15 14:37:48 -07:00

10 lines
216 B
Plaintext

=== tests/cases/compiler/noCollisionThisExpressionAndClassInGlobal.ts ===
class _this {
>_this : _this
}
var f = () => _this;
>f : () => typeof _this
>() => _this : () => typeof _this
>_this : typeof _this