Skip to content

Conversation

@dstaley
Copy link
Contributor

@dstaley dstaley commented Nov 7, 2024

This PR makes all the options on PluginOptions['overlay'] optional.

Currently, the following code throws a TypeScript error:

new ReactRefreshPlugin({ overlay: { sockHost: '...' } })

This is because the OverlayOptions type requires entry, module, and sockIntegration, despite the fact they have defaults.

@LingyuCoder
Copy link
Contributor

Thanks

@LingyuCoder LingyuCoder merged commit 5b34bc0 into rstackjs:main Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants