mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
27 lines
561 B
TypeScript
27 lines
561 B
TypeScript
//// [tests/cases/conformance/externalModules/typeOnly/renamed.ts] ////
|
|
|
|
//// [a.ts]
|
|
class A { a!: string }
|
|
export type { A as B };
|
|
|
|
//// [b.ts]
|
|
export type { B as C } from './a';
|
|
|
|
//// [c.ts]
|
|
import type { C as D } from './b';
|
|
const d: D = {};
|
|
|
|
|
|
//// [a.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
class A {
|
|
}
|
|
//// [b.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
//// [c.js]
|
|
"use strict";
|
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
const d = {};
|