How to automatically reference enum types?Why can't implicit references be used?
bbhxwl opened this issue · comments
enums are both, runtime and types. Never put them in a d.ts file. These are only for declaring types.
Not sure if it is possible to make it auto-import. sorry.