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

Type imports are incorrectly reported as unused #1225

Open
tylerlaprade opened this issue Aug 21, 2024 · 0 comments
Open

Type imports are incorrectly reported as unused #1225

tylerlaprade opened this issue Aug 21, 2024 · 0 comments

Comments

@tylerlaprade
Copy link

import type bar from 'bar';
type foo = (typeof bar)[number];

results in
use of undeclared variable: barquick-lint-js[E0057](https://quick-lint-js.com/errors/E0057/)

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

No branches or pull requests

1 participant