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
Describe the issue Supplying a function as a Flow type argument to a generic callable breaks syntax highlighting.
Screenshot of Current Behavior
Sample Code to Reproduce
// @flow import { createContext } from 'react'; export const Working = createContext<number>(1); export const Breaks = createContext<() => void>(() => undefined); export const Broken = createContext<number>(1);
The text was updated successfully, but these errors were encountered:
Running into this here as well:
Same as above, the culprit is:
React.useState<() => React.ReactNode>
Sorry, something went wrong.
No branches or pull requests
Describe the issue
Supplying a function as a Flow type argument to a generic callable breaks syntax highlighting.
Screenshot of Current Behavior
Sample Code to Reproduce
The text was updated successfully, but these errors were encountered: