Skip to content

Include children in NewWindow type definition#129

Merged
rmariuzzo merged 1 commit intormariuzzo:masterfrom
joy-void-joy:add-children-type
Jul 30, 2022
Merged

Include children in NewWindow type definition#129
rmariuzzo merged 1 commit intormariuzzo:masterfrom
joy-void-joy:add-children-type

Conversation

@joy-void-joy
Copy link
Copy Markdown
Contributor

Fixes #118

This PR simply adds children?: React.ReactNode to NewWindow's type definition, which seems to be enough.

@rmariuzzo rmariuzzo merged commit 51d84fa into rmariuzzo:master Jul 30, 2022
@DarryQueen
Copy link
Copy Markdown

Can we get a release for the typings?

@JorgeMartinezVidaip
Copy link
Copy Markdown

It would be nice to have

@rmariuzzo
Copy link
Copy Markdown
Owner

Will deploy a new version soon today.

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.

Type definition bug: React 18 requires children be defined.

4 participants