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

Update some of the rules of casting #12

Merged
merged 1 commit into from
Feb 7, 2022
Merged

Conversation

tim-s-ccs
Copy link
Owner

With this we can now make sure we limit exactly what we return and the types we will return.

Specifically, we only want to return string, number, boolean and undefined.
Previously we had allowed NaN but we want to avoid this.

@tim-s-ccs tim-s-ccs merged commit a537765 into main Feb 7, 2022
@tim-s-ccs tim-s-ccs deleted the add-undefined-to-cast branch February 7, 2022 09:52
@tim-s-ccs tim-s-ccs mentioned this pull request Feb 7, 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.

1 participant