mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
29 lines
587 B
TypeScript
29 lines
587 B
TypeScript
//// [tests/cases/conformance/externalModules/typeOnly/exportDeclaration_moduleSpecifier.ts] ////
|
|
|
|
//// [a.ts]
|
|
export class A {}
|
|
|
|
//// [b.ts]
|
|
export type { A } from './a';
|
|
|
|
//// [c.ts]
|
|
import { A } from './b';
|
|
declare const a: A;
|
|
new A();
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
exports.A = void 0;
|
|
class A {
|
|
}
|
|
exports.A = A;
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//// [c.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
new A();
|