quick-lint/quick-lint-js

incorrect parse of '(): RT<T>=> { throw ''; }'

strager opened this issue · 1 comments

The following TypeScript code is parsed incorrectly by quick-lint-js:

class RT<X> {}
class T {}

let f = (): RT<T>=> { throw ''; };

I accept this task. (I’m an expert on parsing > btw)