mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
13 lines
353 B
Plaintext
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) };
|
|
|