Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Ignoring TypeScript Errors in next js

//Open next.config.js and enable the ignoreBuildErrors option 
//in the typescript config:

module.exports = {
  typescript: {
    // !! WARN !!
    // Dangerously allow production builds to successfully complete even if
    // your project has type errors.
    // !! WARN !!
    ignoreBuildErrors: true,
  },
}
 
PREVIOUS NEXT
Tagged: #Ignoring #TypeScript #Errors #js
ADD COMMENT
Topic
Name
6+9 =