Symbol properties should not be exempt from excess property checks in presence of a string index signature #44794
Labels
Breaking Change
Would introduce errors in existing code
Bug
A bug in TypeScript
Fix Available
A PR has been opened for this issue
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
In #44793, we found that a
symbol
index signature doesn't turn off excess property checks onsymbol
s; however, astring
index signature turns these excess property checks entirely.It's likely that some users relied on this behavior; however, those users will be able to use
symbol
index signatures in TypeScript 4.4.The text was updated successfully, but these errors were encountered: