tools
tools copied to clipboard
🐛 Parser: export default function in declare module
Environment information
What happened?
declare module 'x' {
export default function (option: any): void
}
reports
✖ expected an identifier, an array pattern, or an object pattern but instead found '('
Expected result
It should parse without syntax error
Code of Conduct
- [X] I agree to follow Rome's Code of Conduct
Could I try it?