ESLint: Parsing error: The keyword 'interface' is reserved
Why does ESLint throw an error for the keyword 'interface'?
How to fix the ESLint parsing error?
If you don't want to use a library or change the keyword, you can tell ESLint to ignore the error. You can do this by adding the keyword 'interface' to the 'ecmaFeatures' option in your ESLint configuration file:
This will allow you to use the keyword 'interface' without getting the ESLint parsing error.