quick-lint-js
quick-lint-js copied to clipboard
10$: Error on invalid TypeScript 'export default'
The following export statements are illegal in TypeScript. We should report a nice diagnostic.
export default namespace ns {} // error
export default enum e {} // error
export default type T = any; // error
export default import A = ns.B; // error