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
Hi there! Thanks for the awesome library.
I found a small inconvenience when using generic types. This snippet should warn, but doesn't:
type NameType = 'user' type ObjectType<Name: NameType> = { name: Name, } type UserType = ObjectType<'lol'>
..until I try to use it:
const user: UserType = { name: 'user', }
https://flow.org/try/#0C4TwDgpgBAcghgWwgFXNAvFA5AVwM4QBOWAUKJFAPIBGAVhAMbCqQA88SAXLIimgHxRMAbxJQoAO17cOEADQkAvmTRQAqgUIsMVOo2ZpWWADYB7Y1n4kSAegBUdqDZINTEvMCj4i3DUW1CUKLiUlzY3sQKyvZ2NkA
Not sure how to go about fixing it. But if there are any pointers, I would be glad to submit a PR 🙏
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi there! Thanks for the awesome library.
I found a small inconvenience when using generic types. This snippet should warn, but doesn't:
..until I try to use it:
https://flow.org/try/#0C4TwDgpgBAcghgWwgFXNAvFA5AVwM4QBOWAUKJFAPIBGAVhAMbCqQA88SAXLIimgHxRMAbxJQoAO17cOEADQkAvmTRQAqgUIsMVOo2ZpWWADYB7Y1n4kSAegBUdqDZINTEvMCj4i3DUW1CUKLiUlzY3sQKyvZ2NkA
Not sure how to go about fixing it. But if there are any pointers, I would be glad to submit a PR 🙏
The text was updated successfully, but these errors were encountered: