TypeScript
TypeScript copied to clipboard
Improve checking of `in` operator combined with `noUncheckedIndexedAccess`
follow up to https://github.com/microsoft/TypeScript/pull/50666 , mostly piggy-backing on the logic introduced there
fixes https://github.com/microsoft/TypeScript/issues/43614
cc @ahejlsberg @andreialecu