E0272: 'type' cannot be used twice in import
When importing in TypeScript, type
can be used to indicate that the symbol
should not be imported at run time. It is a syntax error to mix both import type ...
and import {type ...}
:
To fix this error, use only the import {type ...}
syntax:
Alternatively, use only the import type ...
syntax, importing twice if you
also need run time imports:
Introduced in quick-lint-js version 2.8.0.