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