Sajeeb M Ahamed
Results
2
comments of
Sajeeb M Ahamed
I solve this issue. Firstly, Create a folder **typings** then create file **index.d.ts** inside the folder. then declare module `declare module 'react-to-pdf'`. Then add `"typeRoots": [ "./typings", "./node_modules/@types" ]` inside...
I resolved the issue by importing `@vercel/analytics/react` instead of `@vercel/analytics/next` ``` { "next": "13.0.7", "@vercel/analytics": "^1.4.1" } ``` `import { Analytics } from '@vercel/analytics/next';`