rsnext/packages/create-next-app/templates
Sachin Raja ba88bfde3e
include image types in create-next-app next-env.d.ts (#26890)
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
2021-07-04 17:21:16 +00:00
..
default Update create-next-app template favicons (#26289) 2021-06-18 15:29:11 -05:00
typescript include image types in create-next-app next-env.d.ts (#26890) 2021-07-04 17:21:16 +00:00