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