mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
26 lines
651 B
TypeScript
26 lines
651 B
TypeScript
//// [tests/cases/compiler/exportDefaultQualifiedNameNoError.ts] ////
|
|
|
|
//// [code.ts]
|
|
class C { static x = 0; };
|
|
export default C.x;
|
|
//// [usage.ts]
|
|
import def from "./code";
|
|
void def;
|
|
|
|
//// [code.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class C {
|
|
}
|
|
C.x = 0;
|
|
;
|
|
exports.default = C.x;
|
|
//// [usage.js]
|
|
"use strict";
|
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
};
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const code_1 = __importDefault(require("./code"));
|
|
void code_1.default;
|