You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
Issue type:
Description:
When interface definitions are exported as they are created, the corresponding component definitions are generated for them, so this works:
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):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:
Crash log:
Not applicable. Results in missing component definitions only, nothing crashes (except when trying to instantiate components with missing definitions).
The text was updated successfully, but these errors were encountered: