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 non-nullable modifier to return type of functions never returning null #286

Merged
merged 1 commit into from Apr 22, 2020

Conversation

vrana
Copy link
Contributor

@vrana vrana commented Mar 10, 2020

Alternatively use primitive type instead of nullable boxed type.

… null

Alternatively use primitive type instead of nullable boxed type.
@vrana vrana changed the title Add non-nullable modifier to return type of functions never returning… Add non-nullable modifier to return type of functions never returning null Mar 12, 2020
@josephfrazier
Copy link
Collaborator

I'm not very familiar with JSDoc types, but this seems fine to me. Thanks!

@josephfrazier josephfrazier merged commit d0f6f89 into slevithan:master Apr 22, 2020
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.

None yet

2 participants