Skip to content

Conversation

@bglgwyng
Copy link
Contributor

@bglgwyng bglgwyng commented Apr 8, 2024

The current type of useRunInJS doesn't allow any argument.
[] to any[] allows arguments in arbitrary length.

Copy link
Member

@hannojg hannojg left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the contribution!

@hannojg hannojg changed the title Fix useRunInJS type. fix(types): fix useRunInJS type not allowing for functions to have arguments Apr 8, 2024
@hannojg hannojg changed the title fix(types): fix useRunInJS type not allowing for functions to have arguments fix(types): fix useRunInJS type not allowing functions to have args Apr 8, 2024
@hannojg hannojg merged commit a86ff69 into margelo:main Apr 8, 2024
@bglgwyng bglgwyng deleted the fix-useRunInJS-type branch April 8, 2024 12:41
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