3 ms·
Yep, and in your own code you can tell TS to verify your property access with the setting `noPropertyAccessFromIndexSignature` (https://devblogs.microsoft.com/t
by e1g 5y ago
Yep, and in your own code you can tell TS to verify your property access with the setting `noPropertyAccessFromIndexSignature` (https://devblogs.microsoft.com/typescript/announcing-typescript-4-2/#no-property-access-index-signature https://devblogs.microsoft.com/typescript/announcing-typescr...)
The TS crew did discuss having a "pedantic" mode, which is stricter than "strict", but I don't think it's on the roadmap any more.
- jsf01 5y agoThat one as well as the noUncheckedIndexedAccess ought to be defaults when in strict mode.