Files
tsgo/testdata/baselines/reference/submodule/compiler/declarationEmitComputedPropertyNameEnum2.errors.txt

13 lines
353 B
Plaintext

type.ts(1,29): error TS2304: Cannot find name 'Enum'.
==== type.ts (1 errors) ====
export type Type = { x?: { [Enum.A]: 0 } };
~~~~
!!! error TS2304: Cannot find name 'Enum'.
==== index.ts (0 errors) ====
import { type Type } from "./type";
export const foo = { ...({} as Type) };