Refactor konami code example code
Add fromEventHandler class method
Make explanation more type strict