typescript no-unused-vars interface type Array code example
Example 1: eslint no-unused-vars typescript
"plugins": ["@typescript-eslint"],
"rules": {
//...
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": ["error"]
//...
}
Example 2: eslint no-unused-vars typescript interface
"rules": {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"error"
]
}