Resources
Fix Forbidden Non-Null Assertion in TypeScript ESLint
How to fix the forbidden non-null assertion in Type Script and React? For this error to occur, the eslintrc file has the “no-non-null-assertion” rule set to "error": "rules": { "@typescript-eslint/no-non-null-assertion": "error" } The Non-null Assertion Operator (Postfix !) assertion removes the null and undefined types from a value.
