Skip to content

fix(Exact): fix support for opaque type #525

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

Merged
merged 3 commits into from
Dec 13, 2022

Conversation

zorji
Copy link
Contributor

@zorji zorji commented Nov 30, 2022

Fixes #508

@sindresorhus
Copy link
Owner

The workaround makes sense to me. Can you fix the lint issues?

Verified

This commit was signed with the committer’s verified signature.
skarab42 Sébastien Mischler
@zorji zorji force-pushed the fix-exact-opaque-type branch from f83570d to 55b4e41 Compare December 11, 2022 04:53
@zorji
Copy link
Contributor Author

zorji commented Dec 11, 2022

Hi @sindresorhus

Sorry for the late response and thanks for reviewing this. I am not very familiar with Opaque type and not sure what is the right use case for it.

I've added a test for string and number and fixed lint issues.

@zorji zorji marked this pull request as ready for review December 11, 2022 04:56

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@sindresorhus sindresorhus merged commit 84269a7 into sindresorhus:main Dec 13, 2022
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.

Exact does not work with Opaque after 2.19.0
2 participants