Skip to content

Fix export types - #251

Open
ahmed-sudowrite wants to merge 4 commits into
10play:mainfrom
ahmed-sudowrite:fix-hook-types
Open

Fix export types#251
ahmed-sudowrite wants to merge 4 commits into
10play:mainfrom
ahmed-sudowrite:fix-hook-types

Conversation

@ahmed-sudowrite

Copy link
Copy Markdown

Types for useTenTap were broken, now they are not hehe

@17Amir17 17Amir17 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hey, and thanks for contributing!
I'm just seeing one type error

Screenshot 2024-12-29 at 16 52 22

@ahmed-sudowrite

Copy link
Copy Markdown
Author

Hey, and thanks for contributing! I'm just seeing one type error

Screenshot 2024-12-29 at 16 52 22

Interesting, have you tried doing yarn install? It's definitely exported from tiptap react, and it was added in 5 months ago in version 2.2.1 which should be installed as we use a ^ so minor versions are okay, so that might fix your issue.

I'll bump our version to match the latest minor, since it's the one that'll be installed anyways.

@17Amir17

17Amir17 commented Jan 7, 2025

Copy link
Copy Markdown
Collaborator

This looks good - but tests are failing for some reason will need to look into it

@ahmed-sudowrite

Copy link
Copy Markdown
Author

Can we try rerunning the test? Doesn't look like the tests are failing because of any of the changes in the pr

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.

3 participants