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

[utils] useEventCallback args defaults to unknown[] #24564

Merged
merged 4 commits into from
Jan 23, 2021

Conversation

eps1lon
Copy link
Member

@eps1lon eps1lon commented Jan 23, 2021

Previously args[] defaulted to any[]. Following "strict by default" they now default to unknown.

@eps1lon eps1lon added typescript package: utils Specific to the @mui/utils package labels Jan 23, 2021
@mui-pr-bot
Copy link

mui-pr-bot commented Jan 23, 2021

No bundle size changes

Generated by 🚫 dangerJS against 63e6e28

@eps1lon eps1lon changed the title [utils] useEventCallback args default to unknown[] [utils] useEventCallback args defaults to unknown[] Jan 23, 2021
@eps1lon eps1lon marked this pull request as ready for review January 23, 2021 12:55
@eps1lon eps1lon merged commit 1f70579 into mui:next Jan 23, 2021
@eps1lon eps1lon deleted the fix/useEVentCallback-strict branch January 23, 2021 16:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
package: utils Specific to the @mui/utils package typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants