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

Correct types for valid options added via convenience methods #15

Closed
wants to merge 1 commit into from

Conversation

lukekarrys
Copy link
Contributor

Stumbled on this as a solution for getting the correct types for configs with validOptions that are added by the convenience methods such as opt.

Made a stripped down TypeScript playground to illustrate the fix in case it's helpful to play around with other possible fixes. Playground

@lukekarrys
Copy link
Contributor Author

Superseded by #18

@lukekarrys lukekarrys closed this Aug 17, 2024
@lukekarrys lukekarrys deleted the main branch August 17, 2024 03:23
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.

1 participant