Open
Description
Issue type:
- 🐛 Bug
Description:
When interface definitions are exported as they are created, the corresponding component definitions are generated for them, so this works:
export interface ISomething {}
However, when the interface is defined first, and then exported in a list, the component definitions are not generated (the type
keyword does not seem to make a difference):
interface ISomething {}
export { type ISomething }
If someone has any idea how to approach this issue, I would be happy to try it. For the time being, I will use the export approach that works, since it is not a big thing. If someone has managed to get this working, maybe it is a user error in a configuration somewhere.
Environment:
- Linux as OS
- Node 19.8.1
- TypeScript versions 5 and 4 produce the same behaviour
Crash log:
Not applicable. Results in missing component definitions only, nothing crashes (except when trying to instantiate components with missing definitions).