mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
20 lines
480 B
Plaintext
20 lines
480 B
Plaintext
//// [tests/cases/compiler/exportDefaultQualifiedNameNoError.ts] ////
|
|
|
|
=== code.ts ===
|
|
class C { static x = 0; };
|
|
>C : Symbol(C, Decl(code.ts, 0, 0))
|
|
>x : Symbol(C.x, Decl(code.ts, 0, 9))
|
|
|
|
export default C.x;
|
|
>C.x : Symbol(C.x, Decl(code.ts, 0, 9))
|
|
>C : Symbol(C, Decl(code.ts, 0, 0))
|
|
>x : Symbol(C.x, Decl(code.ts, 0, 9))
|
|
|
|
=== usage.ts ===
|
|
import def from "./code";
|
|
>def : Symbol(def, Decl(usage.ts, 0, 6))
|
|
|
|
void def;
|
|
>def : Symbol(def, Decl(usage.ts, 0, 6))
|
|
|