Skip to content
New issue

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

React Hooks: Should allow typecast of literal array #18

Open
kastermester opened this issue Oct 5, 2021 · 0 comments
Open

React Hooks: Should allow typecast of literal array #18

kastermester opened this issue Oct 5, 2021 · 0 comments
Labels

Comments

@kastermester
Copy link
Member

We have an instance where TS complains that the array literal's union type is too complex to represent - thus requiring an explicit typecast. However the hook rule does not allow this.

kastermester added a commit that referenced this issue Oct 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant