Closed TranquilMarmot closed 4 years ago
Hi @TranquilMarmot
This is the wrong repository, you probably wanted to create it in next-optimize-images
, so I'll close it here. And for next-optimized-images
: this is planned to be shipped with the next version.
When doing i.e.
The Typescript compiler will complain.
The
next-images
project solves this by bundling a types declaration file: https://github.com/twopluszero/next-images/blob/master/index.d.tsAnd then suggesting that you add a reference in
next-env.d.ts
: https://github.com/twopluszero/next-images#typescript