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

Find a nicer way to deal with versions #58

Open
samchungy opened this issue May 3, 2023 · 1 comment
Open

Find a nicer way to deal with versions #58

samchungy opened this issue May 3, 2023 · 1 comment

Comments

@samchungy
Copy link
Owner

Since we are piping around the state object. We can potentially use that as a generic typeguard for when to use 3.1 vs 3.0 types

@samchungy
Copy link
Owner Author

samchungy commented May 5, 2023

Thought of using conditional return types but that doesn't look possible:

microsoft/TypeScript#33014

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

1 participant