Open jai570 opened 1 year ago
Seeing the same issue... Hoping for a fix.
Me too.
update your code with this
import { Redis } from '@upstash/redis'
export const db = new Redis({ url: process.env.UPSTASH_REDIS_REST_URL!, token: process.env.UPSTASH_REDIS_REST_TOKEN!, })
Cannot find module '@upstash/redis' or its corresponding type declarations.ts