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
Cleanup nullability annotations #3334
Cleanup nullability annotations #3334
Conversation
realityforge
commented
Apr 15, 2019
•
edited
edited
- Remove ! if type is nonnull by default
Created internal issue http://b/130555289 |
Google's style guide mandates that all non-primitive or literal type references must have an explicit I'd be happy to see a few of the changes in this PR land, like @realityforge could you revert the changes to non-primitive or literal types? |
… type is nonnull by default
9482dc0
to
c4ebb14
Compare
@lauraharker I believe it is good to go. Holler if there is something more that needs to be done. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good except for ?undefined
. Thanks!
c4ebb14
to
79f441b
Compare
@lauraharker Alright ... next attempt ;) |
Looks good to me. Importing for internal review. |
- Remove ! when the primitive type is nonnull by default - Move nullability-marker "?" to the beginning of the type Closes google/closure-compiler#3334. PiperOrigin-RevId: 245823520
Thanks! |