dcsimg
 

Force the TypeScript Compiler to Ignore Errors

Monday Dec 24th 2018 by Srinath MS

Language: Enterprise, Expertise: Intermediate - Learn how to stop the compiler from generating errors.

Use the "@ts-ignore" comment before the code and the compiler will no longer generate errors.

// @ts-ignore
import mathUnit from 'mathjs/lib/type/unit'
Home
Mobile Site | Full Site