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

tsc: Remove some exclaimation points, since not nullable by default. #37217

Merged
merged 1 commit into from
Dec 14, 2021

Conversation

samouri
Copy link
Member

@samouri samouri commented Dec 14, 2021

summary
In closure typed code, everything was assumed to be nullable unless it had an exclamation point. In TypeScript items are never considered nullable unless they have a ?, i.e. SomeType?.

This PR just removes exclamation points now that they are noops.

@samouri samouri removed the request for review from alanorozco December 14, 2021 20:13
@samouri samouri self-assigned this Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants