83f89c4f87
Currently, a developer building a website using Next.js could write this code with no type errors: ```tsx <Image width="kangaroo" height="100px" quality="medium" {...rest} /> ``` This PR adds stricter type checking, which will catch this type of error earlier. Similarly, this PR adds stricter types for the `responseLimit`, to ensure the types align to: https://nextjs.org/docs/messages/api-routes-response-size-limit Co-authored-by: Steven <steven@ceriously.com> Co-authored-by: JJ Kasper <jj@jjsweb.site> |
||
---|---|---|
.. | ||
index.ts | ||
node.ts | ||
web.ts |