Use the "@ts-ignore" comment before the code and the compiler will ignore errors.
// @ts-ignore
import mathUnit from 'mathjs/lib/type/unit'
Language: Web, Expertise: Intermediate - See how to force the compiler to ignore errors in TypeScript.
Use the "@ts-ignore" comment before the code and the compiler will ignore errors.
// @ts-ignore
import mathUnit from 'mathjs/lib/type/unit'