E0278: TypeScript type exports are not allowed in JavaScript
TypeScript supports exporting types using export type
. It is a syntax error to
write export type
in JavaScript code:
To fix this error, export the variable normally by removing the type
keyword:
Introduced in quick-lint-js version 2.8.0.
Documentation for other errors