Using fetch with typescript leads to Unsafe assignment of an `any` value.
Hi all,
Is anyone able to tell me why I am receving this linting issue "Unsafe assignment of an
any
value." when trying to use fetch json response method?
![No description](https://cdn.answeroverflow.com/1263740786982387764/image.png)
1 Reply
Try using envalid...
https://youtu.be/1bVzEHDOtXs?t=400s
Net Ninja
YouTube
Build an Image Gallery with Next.js 13 #4 - Fetching Images
In this Next 13 tutorial, you'll build an interactive image gallery with Next.js 13, TypeScript & Zod.
šš„·š¼ Get early access to this entire course now on Net Ninja Pro:
https://netninja.dev/p/build-an-image-gallery-with-next-13
š„š„·š¼ Check out Dave Gray on YouTube:
https://www.youtube.com/c/DaveGrayTeachesCode
šš„·š¼ Access the course files on GitH...