mirror of
https://github.com/swc-project/swc.git
synced 2024-12-19 11:42:13 +03:00
12 lines
213 B
TypeScript
12 lines
213 B
TypeScript
|
// @strict: true
|
||
|
// @Filename: /a.ts
|
||
|
class A { a!: string }
|
||
|
export type { A as B };
|
||
|
|
||
|
// @Filename: /b.ts
|
||
|
export type { B as C } from './a';
|
||
|
|
||
|
// @Filename: /c.ts
|
||
|
import type { C as D } from './b';
|
||
|
const d: D = {};
|