{"action":"closed","issue":{"url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5235","labels_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5235/labels{/name}","comments_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5235/comments","events_url":"https://api.github.com/repos/borisyankov/DefinitelyTyped/issues/5235/events","html_url":"https://github.com/borisyankov/DefinitelyTyped/issues/5235","id":99310338,"number":5235,"title":"BingMaps events on entities","user":{"login":"doubret","id":8885703,"avatar_url":"https://avatars.githubusercontent.com/u/8885703?v=3","gravatar_id":"","url":"https://api.github.com/users/doubret","html_url":"https://github.com/doubret","followers_url":"https://api.github.com/users/doubret/followers","following_url":"https://api.github.com/users/doubret/following{/other_user}","gists_url":"https://api.github.com/users/doubret/gists{/gist_id}","starred_url":"https://api.github.com/users/doubret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doubret/subscriptions","organizations_url":"https://api.github.com/users/doubret/orgs","repos_url":"https://api.github.com/users/doubret/repos","events_url":"https://api.github.com/users/doubret/events{/privacy}","received_events_url":"https://api.github.com/users/doubret/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-08-05T22:12:49Z","updated_at":"2015-08-18T09:15:25Z","closed_at":"2015-08-18T09:15:25Z","body":"Hello, thanks for the bing maps typings.\r\n\r\nI have a small question though.\r\nHow am i supposed to use the events declared on entities like Pushpin or Infobox ?\r\nI tried setting them to my own functions but they never get called, to get my functions called i need to register them using the Events class.\r\n\r\nAm i missing something here ? Are the events declared on entities usable to register custom handlers automatically ?\r\n\r\nThanks."}}