We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I've tried to look for this issues, but I didn't find any. Here's an example of the problem:
interface IComponentLifecycle<P> { componentWillReceiveProps?(nextProps: Readonly<P>, nextContext: any): void; } interface IProps { hello: string; } class X implements IComponentLifecycle<IProps> { componentWillReceiveProps(nextProps) { // <-- nextProps is any // TODO: logic } }
This is based on react's typings (that's how I found the issue).
Is this an expected behaviour or not?
The text was updated successfully, but these errors were encountered:
Duplicate of #16590, see #1373 and #6118.
Sorry, something went wrong.
Thanks, sorry I didn't find that issue, I'll close this
No branches or pull requests
I've tried to look for this issues, but I didn't find any.
Here's an example of the problem:
This is based on react's typings (that's how I found the issue).
Is this an expected behaviour or not?
The text was updated successfully, but these errors were encountered: