You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What version of this package are you using?
12.0.1
What operating system, Node.js, and npm version?
macOS, 16.18.1, 9.6.0
What happened?
When I lint code that creates a custom element by subclassing a class named Component, I get an error because the subclass's render method (which is declared as void) doesn't return something. It shouldn't return anything. TypeScript is not React and in any event non-React code shouldn't be assumed to be React code.
What did you expect to happen?
This code is fine. No errors should be thrown.
Are you willing to submit a pull request to fix this bug?
No.
The text was updated successfully, but these errors were encountered:
What version of this package are you using?
12.0.1
What operating system, Node.js, and npm version?
macOS, 16.18.1, 9.6.0
What happened?
When I lint code that creates a custom element by subclassing a class named Component, I get an error because the subclass's
render
method (which is declared as void) doesn't return something. It shouldn't return anything. TypeScript is not React and in any event non-React code shouldn't be assumed to be React code.What did you expect to happen?
This code is fine. No errors should be thrown.
Are you willing to submit a pull request to fix this bug?
No.
The text was updated successfully, but these errors were encountered: