```ts 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/)`