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

Adds typescript types #12

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

ajmath
Copy link

@ajmath ajmath commented Feb 7, 2019

If you're interested in adding some validation for the types, I can help set that up but it would require adding react, react-native, and typescript as dev dependencies which I didn't want to do since there are none currently. Basically, add those dependencies and then add an npm script with npx tsc --noEmit ./index.d.ts.

@kyaroru
Copy link
Owner

kyaroru commented Feb 8, 2019

hi @ajmath thanks for the suggestion.. but I not so understand on how it works 😢 (no TS experience)

@ajmath
Copy link
Author

ajmath commented Feb 8, 2019

That's all fine, it's mergeable as is now. Just something to consider for the future if you start adding some CI.

@Josephdias92
Copy link

Much needed PR, otherwise I have to jump to GitHub readme everytime to see the type of value a property expects

@jdnichollsc
Copy link

@kyaroru do you want to merge this?

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.

5 participants