mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
ab14d131a7
Co-authored-by: copilot-swe-agent[bot] <[email protected]> Co-authored-by: jakebailey <[email protected]>
22 lines
550 B
Plaintext
22 lines
550 B
Plaintext
//// [tests/cases/compiler/declarationEmitReadonlyAsConst.ts] ////
|
|
|
|
=== declarationEmitReadonlyAsConst.ts ===
|
|
export const value = {
|
|
>value : Symbol(value, Decl(declarationEmitReadonlyAsConst.ts, 0, 12))
|
|
|
|
method(): string {
|
|
>method : Symbol(method, Decl(declarationEmitReadonlyAsConst.ts, 0, 22))
|
|
|
|
return "a";
|
|
},
|
|
prop: {
|
|
>prop : Symbol(prop, Decl(declarationEmitReadonlyAsConst.ts, 3, 4))
|
|
|
|
nested: 1,
|
|
>nested : Symbol(nested, Decl(declarationEmitReadonlyAsConst.ts, 4, 9))
|
|
|
|
},
|
|
} as const;
|
|
>const : Symbol(const)
|
|
|