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