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

Update/types #144

Merged
merged 2 commits into from Jun 5, 2022
Merged

Update/types #144

merged 2 commits into from Jun 5, 2022

Conversation

patrikliska
Copy link

@patrikliska patrikliska commented May 12, 2022

In @types/react 18 there is error redwoodjs/redwood#5104 (comment)
@types/react needs to be updated in this library for proper behavior

@davidslaby
Copy link

@sghall Hi, could you check please, merge and publish new version of package? Otherwise, it's incompatible with React 18 types.

@@ -36,7 +36,7 @@ interface RCSComponent {
};
}

const isRCSComponent = (item: React.ReactNode): item is RCSComponent => {
const isRCSComponent = (item: React.ReactNode) => {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is automatically typed

@lachlanjc
Copy link

Also having issues with this, would love to see the new version published!

@bentron2000
Copy link

Ditto!

@sghall
Copy link
Owner

sghall commented May 25, 2022

Hey 👋 I will take a look at this over the weekend. Apologies for the delay.

@andreyvital
Copy link

@sghall any change of it getting merged? 🤔

@sghall sghall merged commit fad43bd into sghall:master Jun 5, 2022
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.

None yet

6 participants