This commit assigns the correct type instead of `any`. PR Close #49406
EventManager
addGlobalEventListener