I've already installed micro-cors, and when I attempted to build, I got the following result
I encountered the following issue while constructing the Next.js Stripe project and I apologize. ./src/pages/api/webhooks.ts:3:18 Type error: Could not find a declaration file for module ‘micro-cors’. ‘E:/Project/longlifecoin/node_modules/micro-cors/lib/index.js’ implicitly has an ‘any’ type. 1 | import Stripe from ‘stripe’; 2 | import { buffer } from ‘micro’; > 3 | import Cors from ‘micro-cors’; I don’t… Read More I've already installed micro-cors, and when I attempted to build, I got the following result