Files
tsgo/testdata/tests/cases/compiler/declarationEmitReadonlyAsConst.ts
2026-05-19 20:56:15 +00:00

12 lines
147 B
TypeScript

// @strict: true
// @declaration: true
export const value = {
method(): string {
return "a";
},
prop: {
nested: 1,
},
} as const;