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
useSWR<Data>('/api', (endpoint) => sendRequestFor(endpoint)) ﹌﹌﹌﹌﹌ "Parameter 'endpoint' implicitly has an 'any' type.ts(7006)"
It would be great if we can workaround this.
N/A
SWR 1.1.0-beta.3.
The text was updated successfully, but these errors were encountered:
Update: we need partial inference for this, AFAIK it's still not supported by TS yet (microsoft/TypeScript#26242).
Sorry, something went wrong.
Closed by #1640.
No branches or pull requests
Bug report
Description / Observed Behavior
Expected Behavior
It would be great if we can workaround this.
Repro Steps / Code Example
N/A
Additional Context
SWR 1.1.0-beta.3.
The text was updated successfully, but these errors were encountered: