Typescript has flags for turning on more strictness, and I highly recommend using them. For example, strictNullChecks for your example above.
There’s a “strict” flag that you can use to turn on most of the more specific strictness flags all at once.
There’s a “strict” flag that you can use to turn on most of the more specific strictness flags all at once.
No comments yet.