commit | 04b7bb2dc5ce7a8f8aca0bad16e4eefb28252404 | [log] [tgz] |
---|---|---|
author | Daniel Moy <danielmoy@google.com> | Thu Feb 14 12:02:00 2019 -0800 |
committer | GitHub <noreply@github.com> | Thu Feb 14 12:02:00 2019 -0800 |
tree | 0bcda0ca321e3028fa37506b70fd70f8aecb6d78 | |
parent | cddcda7c0553f5f8c8105f7712e58a01fbabaf19 [diff] |
fix: propagating a downstream fix on typescript (#3496) Replace property access on objects with an index signature type, with an index access. Previously, you could write: ``` interface IdxSig { [key: string]: string; } function propAccess(x: IdxSig) { x.prop; } ```