keypress typescript code example Example: typescript event keyCode myFunc(data : string, evt : KeyboardEvent)