Add static index signature by Kingwl · Pull Request #37797 · microsoft/TypeScript (original) (raw)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The implementation looks good, but I'd love to see some more tests (you should consider placing them in a subfolder of the conformance directory instead of compiler, since it's a "new" language feature). Specifically, I'm thinking of tests showing:

More would also be welcome, ofc, if you can think of any other possible edge cases.