mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
28 lines
1.3 KiB
Plaintext
28 lines
1.3 KiB
Plaintext
//// [tests/cases/compiler/declarationEmitMergedAliasWithConst.ts] ////
|
|
|
|
=== declarationEmitMergedAliasWithConst.ts ===
|
|
export const Color = {
|
|
>Color : Symbol(Color, Decl(declarationEmitMergedAliasWithConst.ts, 0, 12), Decl(declarationEmitMergedAliasWithConst.ts, 4, 10))
|
|
|
|
Red: "Red",
|
|
>Red : Symbol(Red, Decl(declarationEmitMergedAliasWithConst.ts, 0, 22))
|
|
|
|
Green: "Green",
|
|
>Green : Symbol(Green, Decl(declarationEmitMergedAliasWithConst.ts, 1, 15))
|
|
|
|
Blue: "Blue"
|
|
>Blue : Symbol(Blue, Decl(declarationEmitMergedAliasWithConst.ts, 2, 19))
|
|
|
|
} as const
|
|
>const : Symbol(const)
|
|
|
|
export type Color = typeof Color
|
|
>Color : Symbol(Color, Decl(declarationEmitMergedAliasWithConst.ts, 0, 12), Decl(declarationEmitMergedAliasWithConst.ts, 4, 10))
|
|
>Color : Symbol(Color, Decl(declarationEmitMergedAliasWithConst.ts, 0, 12), Decl(declarationEmitMergedAliasWithConst.ts, 4, 10))
|
|
|
|
export type Colors = Color[keyof Color]
|
|
>Colors : Symbol(Colors, Decl(declarationEmitMergedAliasWithConst.ts, 6, 32))
|
|
>Color : Symbol(Color, Decl(declarationEmitMergedAliasWithConst.ts, 0, 12), Decl(declarationEmitMergedAliasWithConst.ts, 4, 10))
|
|
>Color : Symbol(Color, Decl(declarationEmitMergedAliasWithConst.ts, 0, 12), Decl(declarationEmitMergedAliasWithConst.ts, 4, 10))
|
|
|