As far as I'm aware, this breaks any usage of Reselect's array signature with TypeScript 3.1.1+. I'm not sure what causes this yet, but I'm hoping that #366 will also fix this by using a mapped generic rest tuple. Older TypeScript versions work fine, but now that 3.1.1 is already 10 months old it seems like this may be a common issue.
Discussion: https://twitter.com/jessidhia/status/1159660672000487424
Reproduction with failing type tests: https://travis-ci.com/nickmccurdy/reselect/jobs/224127648#L1087-L1115
As far as I'm aware, this breaks any usage of Reselect's array signature with TypeScript 3.1.1+. I'm not sure what causes this yet, but I'm hoping that #366 will also fix this by using a mapped generic rest tuple. Older TypeScript versions work fine, but now that 3.1.1 is already 10 months old it seems like this may be a common issue.
Discussion: https://twitter.com/jessidhia/status/1159660672000487424
Reproduction with failing type tests: https://travis-ci.com/nickmccurdy/reselect/jobs/224127648#L1087-L1115