ts-ignore Archives - 7-Views
How to ignore TypeScript errors with @ts-ignore?
You can stop using @ts-ignore Or you can disable the eslint rule. Add that in your eslint config (.eslintrc or equivalent) “rules”: { “@typescript-eslint/ban-ts-ignore”: “off” } If you are using @typescript-eslint/eslint-plugin version 2.18 or higher, the rule is called ban-ts-comment and you need to add “@typescript-eslint/ban-ts-comment”: “off”