typescript vs keypress | What are the differences? | StackShare