firebase-admin-interop icon indicating copy to clipboard operation
firebase-admin-interop copied to clipboard

NNBD and Code Cleanup

Open SupposedlySam opened this issue 3 years ago • 0 comments

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 avatar May 12 '21 16:05 SupposedlySam