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 invariantOf helper function #31

Open
younho9 opened this issue Jan 28, 2022 · 2 comments
Open

Add invariantOf helper function #31

younho9 opened this issue Jan 28, 2022 · 2 comments

Comments

@younho9
Copy link
Contributor

younho9 commented Jan 28, 2022

It could be useful to construct InvariantOf typed value.

sindresorhus/type-fest#352 (comment)

@sindresorhus
Copy link
Owner

Instead of making identical helper types just for casting, wouldn't #5 be enough?

@younho9
Copy link
Contributor Author

younho9 commented Feb 22, 2022

Yes! It is exactly what I wanted.

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