mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
18 lines
374 B
TypeScript
18 lines
374 B
TypeScript
//// [tests/cases/compiler/collisionThisExpressionAndModuleInGlobal.ts] ////
|
|
|
|
//// [collisionThisExpressionAndModuleInGlobal.ts]
|
|
namespace _this { //Error
|
|
class c {
|
|
}
|
|
}
|
|
var f = () => this;
|
|
|
|
//// [collisionThisExpressionAndModuleInGlobal.js]
|
|
"use strict";
|
|
var _this;
|
|
(function (_this) {
|
|
class c {
|
|
}
|
|
})(_this || (_this = {}));
|
|
var f = () => this;
|