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

Consistent type imports #1977

Closed
hectorgomezv opened this issue Sep 30, 2024 · 0 comments · Fixed by #1987
Closed

Consistent type imports #1977

hectorgomezv opened this issue Sep 30, 2024 · 0 comments · Fixed by #1987
Assignees

Comments

@hectorgomezv
Copy link
Member

hectorgomezv commented Sep 30, 2024

Description

Currently, many TS types are being imported as values.

TypeScript allows specifying a type keyword on imports to indicate that the export exists only in the type system, not at runtime. This allows transpilers to drop imports without knowing the types of the dependencies.

Requirements

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

Successfully merging a pull request may close this issue.

2 participants