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

Typescript type declaration warning. #31

Closed
tudorelu opened this issue Jun 19, 2020 · 2 comments
Closed

Typescript type declaration warning. #31

tudorelu opened this issue Jun 19, 2020 · 2 comments

Comments

@tudorelu
Copy link

Hey bro, thanks for making this component - I am using it in an app that I'm building.
I encountered this annoying warning when using in typescript environment:

rnstepper_ts_warning

I temporarily fixed it by adding an index.d.ts file containing

declare module 'react-native-simple-stepper';

I'm not sure what the process of updating a package to be 'typescript friendly' is, but I don't think it's a lot more than this for this repo (I might be wrong tho). Might be worth doing... I would be happy contribute it if you don't have the time.

rn-stepper-ts-fix

@testshallpass
Copy link
Owner

I shall add typescript definitions in the future. I definitely think it is helpful.

@testshallpass
Copy link
Owner

I have added them, see PR #36, thanks.

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

No branches or pull requests

2 participants