Skip to content

changed driver props typing #3030

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

Merged
merged 2 commits into from
Apr 16, 2024
Merged

changed driver props typing #3030

merged 2 commits into from
Apr 16, 2024

Conversation

nitzanyiz
Copy link
Collaborator

Description

Niryo said he need the type here to change so it can integrate with amino

Changelog

ComponentDriver - Changed props typings.

Additional info

MADS-4062

@nitzanyiz nitzanyiz requested a review from ethanshar April 16, 2024 10:58
@nitzanyiz nitzanyiz marked this pull request as ready for review April 16, 2024 10:59

export interface ComponentProps {
renderTree: RenderResult;
renderTree: ReturnType<typeof within>;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Since it looks strange, I would add a // Notes: that explain in short why it was necessary

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added.

@nitzanyiz nitzanyiz requested a review from ethanshar April 16, 2024 11:47
@ethanshar ethanshar merged commit 02db87f into master Apr 16, 2024
@ethanshar ethanshar deleted the infra/driverPropsChange branch April 16, 2024 14:15
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