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

Update typings definitions #127

Merged
merged 8 commits into from
Jan 16, 2021
Merged

Conversation

sapieneptus
Copy link
Contributor

I am working in TypeScript and noticed some of the type information seemed to be missing from index.d.ts.
I've added a few of the missing bits, but I'm sure there are others. Still, adding this much has been helpful to me.

Copy link
Owner

@calintamas calintamas left a comment

Choose a reason for hiding this comment

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

@sapieneptus thank you! added a comment, let me know what you think

index.d.ts Outdated Show resolved Hide resolved
@calintamas calintamas merged commit dfe4b91 into calintamas:master Jan 16, 2021
remcorakers pushed a commit to remcorakers/react-native-toast-message that referenced this pull request Mar 15, 2023
* extend type definitions

* make properties optional

* use TextStyle

* try to make toast type generic

* revert ToastConfig#type inference; fix text style

* use TextStyle instead of TextPropTypes.style

* Revert "use TextStyle instead of TextPropTypes.style"

This reverts commit 2983865.

* use Text.propTypes.style instead of TextPropTypes.style
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