Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interfaces exported in a list seem to be ignored when generating component definitions #118

Open
surilindur opened this issue Apr 7, 2023 · 0 comments

Comments

@surilindur
Copy link

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants