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

Use explicit type imports #773

Open
ezra-sg opened this issue Feb 14, 2024 · 0 comments
Open

Use explicit type imports #773

ezra-sg opened this issue Feb 14, 2024 · 0 comments
Labels
🔧 Tech Debt Technical improvements to the code base

Comments

@ezra-sg
Copy link
Contributor

ezra-sg commented Feb 14, 2024

In order to make code more readable and consistent, we should enable the eslint rule https://typescript-eslint.io/rules/consistent-type-imports/ . This will require types to be imported separately from non-types, where currently, we import mixed types and non-types in such a way that by looking at imports, we cannot tell if the thing being imported is a type or something else, like an object or a constant.

@ezra-sg ezra-sg added the 🔧 Tech Debt Technical improvements to the code base label Feb 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔧 Tech Debt Technical improvements to the code base
Projects
None yet
Development

No branches or pull requests

1 participant