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

Fix using the parseNumbers and parseBooleans options together #187

Merged
merged 3 commits into from
Jun 21, 2019

Conversation

felixoi
Copy link
Contributor

@felixoi felixoi commented Jun 21, 2019

Not tested but I expect it to work. Problem was that if it's was a number, value was set to number already and it still checked if it's a boolean.

Fixes #186

@felixoi
Copy link
Contributor Author

felixoi commented Jun 21, 2019

Added test so I can confirm it's working @sindresorhus

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.

TypeError when both parseBooleans and parseNumbers are enabled
2 participants