react ignore typescript errors code example Example: ignore typescript error // @ts-ignore import mathUnit from 'mathjs/lib/type/unit'