How to disable typescript for failing my builds with nextjs?

Viewed 3845

Getting a bunch of type errors upon running yarn next build, for example:

Type error: Property 'href' does not exist on type '{ name: string; }'.

Which causes my build to fail. Is there a command i can put in my tsconfig to prevent this from happening?

2 Answers

just put

// @ts-ignore 

in the line you want to disable type checking

Related