Skip to content

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

Merged
eps1lon merged 4 commits intomui:nextfrom
eps1lon:fix/useEVentCallback-strict
Jan 23, 2021
Merged

[utils] useEventCallback args defaults to unknown[] #24564
eps1lon merged 4 commits intomui:nextfrom
eps1lon:fix/useEVentCallback-strict

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 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 utils package. typescript

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants