query
query copied to clipboard
Compatibility with @upstash/redis 1.34 is broken
A few errors are thrown when using latest @upstash/redis (tested with 1.34.6):
src/collection.ts(128,13): error TS2365: Operator '>' cannot be applied to types 'string' and 'number'.
src/collection.ts(129,11): error TS2322: Type 'string' is not assignable to type 'number'.
src/collection_index.ts(2,31): error TS2307: Cannot find module '@upstash/redis/types/pkg/pipeline' or its corresponding type declarations.
src/interceptor.ts(1,31): error TS2307: Cannot find module '@upstash/redis/types/pkg/pipeline' or its corresponding type declarations.