Files
tsgo/testdata/baselines/reference/submodule/compiler/declarationEmitComputedPropertyNameEnum2.symbols
2025-02-26 14:53:49 -08:00

17 lines
508 B
Plaintext

//// [tests/cases/compiler/declarationEmitComputedPropertyNameEnum2.ts] ////
=== type.ts ===
export type Type = { x?: { [Enum.A]: 0 } };
>Type : Symbol(Type, Decl(type.ts, 0, 0))
>x : Symbol(x, Decl(type.ts, 0, 20))
>[Enum.A] : Symbol([Enum.A], Decl(type.ts, 0, 26))
=== index.ts ===
import { type Type } from "./type";
>Type : Symbol(Type, Decl(index.ts, 0, 8))
export const foo = { ...({} as Type) };
>foo : Symbol(foo, Decl(index.ts, 2, 12))
>Type : Symbol(Type, Decl(index.ts, 0, 8))