Event listener typehints