Closed
Description
My app currently uses Typescript version 3.8.2 and I'm encountering the following error when building with tsc
node_modules/handy-redis/dist/node_redis/multi.d.ts:3:50 - error TS1256: A rest element must be last in a tuple type.
3 declare type Push_ts4<A extends unknown[], B> = [...A, B];
The README states the multi command has a fallback for Typescript < 4, but it doesn't seem to build at all.
I'm not able to upgrade to ts > 4 at this time. Are there any known workarounds?
Thanks!
Metadata
Metadata
Assignees
Labels
No labels