ba88bfde3e
Previous TypeScript template in `create-next-app` only had the following in `next-env.d.ts` ```ts /// <reference types="next" /> /// <reference types="next/types/global" /> ``` New `next-env.d.ts` has this: ```ts /// <reference types="next" /> /// <reference types="next/types/global" /> /// <reference types="next/image-types/global" /> ``` Next.js automatically adds the `image-types` reference, but it won't be included in the initial commit. ## Documentation / Examples - [x] Make sure the linting passes |
||
---|---|---|
.. | ||
default | ||
typescript |