Hacker News new | ask | show | jobs
by panzerklein 1955 days ago
It won't with --noUncheckedIndexedAccess on.
2 comments

That seems like a pretty insane default. Do you happen to know what the thinking is? While I'm fortunate enough to have never needed to spend significant time working in JS and its spawn, I've heard a lot of good things from people I respect about TS and its incremental typing approach, so I'm starting from the baseline assumption that this is a reasonable choice.
This option is too extreme to be enabled by default. Even --strict shortcut that turns on a bunch of useful checks does not include it.
There seem to have been a few options that are disabled by default and emit additional errors, that slowly get turned on by default in later versions. Perhaps this is one of them.
That's reasonable, thanks for the info
You can have all the internet points for today