mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
16 lines
400 B
Plaintext
16 lines
400 B
Plaintext
//// [tests/cases/compiler/enumWithExport.ts] ////
|
|
|
|
=== enumWithExport.ts ===
|
|
namespace x {
|
|
>x : Symbol(x, Decl(enumWithExport.ts, 0, 0), Decl(enumWithExport.ts, 2, 1))
|
|
|
|
export let y = 123
|
|
>y : Symbol(y, Decl(enumWithExport.ts, 1, 12))
|
|
}
|
|
enum x {
|
|
>x : Symbol(x, Decl(enumWithExport.ts, 0, 0), Decl(enumWithExport.ts, 2, 1))
|
|
|
|
z = y
|
|
>z : Symbol(x.z, Decl(enumWithExport.ts, 3, 8))
|
|
}
|