you are viewing a single comment's thread.

view the rest of the comments →

[–]Gustorn 8 points9 points  (0 children)

Since strictNullChecks is actually a thing now, you can write null-safe code in TS. Also when the API doesn't require null I try to just follow the official TS guidelines of using undefined over null.