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

chore: Update dependencies and improve the types #14

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

nmn
Copy link
Contributor

@nmn nmn commented Nov 6, 2024

This PR starts updates some of the dependencies and improves some of the types.

TODO: This package doesn't export any types right now. Fixing this will need more build scripts.

$$css?: empty,
[key: string]: number | string,
};
[key: string]: mixed,
Copy link
Owner

Choose a reason for hiding this comment

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

Why does the value need to change to mixed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I did this to account for things like Animated values. It's not strictly neccessary.

I wanted to put this up and ask about whether I should set up the scripts to generate Flow and TS type defs. Then I can update the Flow version as well.

Copy link
Owner

Choose a reason for hiding this comment

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

On web, we're not going to get Animated values

Why do we need a script to generate type defs instead of just manually managing the really small def files that already exist?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I can do it manually too. A script ensures we don't accidentally write the wrong types, but it is very small, so I can do it manually.

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