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