Skip to content

Commit

Permalink
Enable typechecking on config (#57892)
Browse files Browse the repository at this point in the history
Co-authored-by: Lee Robinson <me@leerob.io>
Co-authored-by: Balázs Orbán <info@balazsorban.com>
  • Loading branch information
3 people authored Dec 1, 2023
1 parent 89f6322 commit b02a10e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion examples/reproduction-template-pages/next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import("next").NextConfig} */
module.exports = {
const nextConfig = {
reactStrictMode: true,
}

module.exports = nextConfig
4 changes: 3 additions & 1 deletion examples/reproduction-template/next.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import("next").NextConfig} */
module.exports = {
const nextConfig = {
reactStrictMode: true,
}

module.exports = nextConfig

0 comments on commit b02a10e

Please sign in to comment.