by frosted-flakes · 4y ago · 0 comments
Yeah, they're optional, but if you don't write them, there's no point in using TypeScript in the first place.
2) If the types can be inferred, that should just happen. No objection there. But this piece is specifically about "adding (manually-authored) type annotations to JavaScript"