I found this post about implementing a hashmap in typescript, and I've got that working, except for removing something from the hashmap.
TypeScript hashmap/dictionary interface
I add something by doing Input.keys[event.key] = event.keyCode;
to add a key to my abstract Input class's keys field that is a hashmap. How can I remove something from it?