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

Add support for opaque type aliases #195

Merged
merged 2 commits into from
Apr 10, 2018
Merged

Add support for opaque type aliases #195

merged 2 commits into from
Apr 10, 2018

Conversation

marcind
Copy link
Contributor

@marcind marcind commented Apr 10, 2018

This change supports using opaque type aliases as if they were regular
types, i.e. the generated propTypes code is based on the underlying
type information.

This change supports using opaque type aliases as if they were regular
types, i.e. the generated propTypes code is based on the underlying
type information.
@brigand
Copy link
Owner

brigand commented Apr 10, 2018

Thanks for the PR!

Could you add a test for exporting an opaque type? That's where I see this being useful.

@coveralls
Copy link

coveralls commented Apr 10, 2018

Coverage Status

Coverage increased (+0.05%) to 91.974% when pulling 7f8b5db on marcind:opaqueType into 1bab061 on brigand:master.

@brigand
Copy link
Owner

brigand commented Apr 10, 2018

Looks good; ready to merge and release?

@marcind
Copy link
Contributor Author

marcind commented Apr 10, 2018

Just tested the new version in my app and no more warnings. Release would be awesome.

@brigand brigand merged commit a02f555 into brigand:master Apr 10, 2018
@brigand
Copy link
Owner

brigand commented Apr 10, 2018

Published as 23.0.0. 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

Successfully merging this pull request may close these issues.

3 participants