mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
572 B
Plaintext
13 lines
572 B
Plaintext
//// [tests/cases/compiler/exportDefaultInterfaceAndValue.ts] ////
|
|
|
|
=== exportDefaultInterfaceAndValue.ts ===
|
|
export default interface A { a: string; }
|
|
>A : Symbol(A, Decl(exportDefaultInterfaceAndValue.ts, 0, 41), Decl(exportDefaultInterfaceAndValue.ts, 0, 0))
|
|
>a : Symbol(A.a, Decl(exportDefaultInterfaceAndValue.ts, 0, 28))
|
|
|
|
export default function() { return 1; }
|
|
declare var x: A;
|
|
>x : Symbol(x, Decl(exportDefaultInterfaceAndValue.ts, 2, 11))
|
|
>A : Symbol(A, Decl(exportDefaultInterfaceAndValue.ts, 0, 41), Decl(exportDefaultInterfaceAndValue.ts, 0, 0))
|
|
|