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

NNBD and Code Cleanup #68

Open
SupposedlySam opened this issue May 12, 2021 · 0 comments · May be fixed by #69
Open

NNBD and Code Cleanup #68

SupposedlySam opened this issue May 12, 2021 · 0 comments · May be fixed by #69

Comments

@SupposedlySam
Copy link

Non Nullable By Default (NNBD)

  • Update all optional parameters without defaults to be nullable by adding a ? to the end of the Type
  • Update all values that can be null with a ? at the end of the Type
  • Force non-null where needed with ! at the end of the Type
  • Remove assertions now accomplished by the compiler and NNBD

Cleanup

  • Convert all Map() to map literals {}
  • Remove new keyword in lib directory
@SupposedlySam SupposedlySam linked a pull request May 12, 2021 that will close this issue
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 a pull request may close this issue.

1 participant