JSMonk / hegel

An advanced static type checker
https://hegel.js.org
MIT License
2.1k stars 59 forks source link

Rest arguments don't work with generics #113

Closed srg-kostyrko closed 4 years ago

srg-kostyrko commented 4 years ago

https://jsmonk.github.io/hegel/try#GYVwdgxgLglg9mABAQwDwBUB8AKAdPmKAUwFsBnALkQEEAnW5ATw0wEpEBvAKEUVqKghaSQqTIBuLgF8gA

it reports Rest argument type should be an array-like error

JSMonk commented 4 years ago

Hmmm. It's a hard bug. We will fix it soon. Thank you for your contribution ^_^.