mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
22 lines
469 B
Plaintext
22 lines
469 B
Plaintext
//// [tests/cases/conformance/externalModules/typeOnly/exportDeclaration_moduleSpecifier.ts] ////
|
|
|
|
=== /a.ts ===
|
|
export class A {}
|
|
>A : Symbol(A, Decl(a.ts, 0, 0))
|
|
|
|
=== /b.ts ===
|
|
export type { A } from './a';
|
|
>A : Symbol(A, Decl(b.ts, 0, 13))
|
|
|
|
=== /c.ts ===
|
|
import { A } from './b';
|
|
>A : Symbol(A, Decl(c.ts, 0, 8))
|
|
|
|
declare const a: A;
|
|
>a : Symbol(a, Decl(c.ts, 1, 13))
|
|
>A : Symbol(A, Decl(c.ts, 0, 8))
|
|
|
|
new A();
|
|
>A : Symbol(A, Decl(c.ts, 0, 8))
|
|
|