Want to extend empty interface but getting lint error: no-empty-interface Want to extend empty interface but getting lint error: no-empty-interface typescript typescript

Want to extend empty interface but getting lint error: no-empty-interface


You can either disable this rule in tslint.json:

"rules": { "no-empty-interface": false }

Or just disable linting for one line:

// tslint:disable-next-lineexport interface AuthConfig {}


How to disable

Example:$ cat .eslintrc.js  ...  "rules": {  '@typescript-eslint/no-empty-interface': 'off'  }  ...