Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Ignoring TypeScript Errors in nextjs

//at next.config.js add following code
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 #nextjs
ADD COMMENT
Topic
Name
9+5 =