Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

Do not use "// @ts-ignore" comments because they suppress compilation errors

/* 
Step 1: Add this rule to `.eslintrc` file
Step 2: Restart local server
*/
  "rules": {
    "@typescript-eslint/ban-ts-ignore": "off"
  }
...
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Do #comments #suppress #compilation #errors
ADD COMMENT
Topic
Name
5+4 =