New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash from tricky generics #908
Comments
Additional info: |
Minimalist repro: type Foo = (fn: (...args: [][]) => void) => void;
const foo: Foo = (bar => {}); It appears to be triggered by the vararg type of empty tuples ( Error:
|
No longer reproduces |
I was playing with generics and managed to crash TSTL. Here's my attempt at boiling it down to an isolated repro:
And here's the error:
Normal TS doesn't seem to have a problem with it, so it's TSTL-specific.
The text was updated successfully, but these errors were encountered: