{"action":"created","issue":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7440","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7440/labels{/name}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7440/comments","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7440/events","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7440","id":124558070,"number":7440,"title":"The callback parameter for `mongoose.geoNear` is incorrect","user":{"login":"grkuntzmd","id":703718,"avatar_url":"https://avatars.githubusercontent.com/u/703718?v=3","gravatar_id":"","url":"https://api.github.com/users/grkuntzmd","html_url":"https://github.com/grkuntzmd","followers_url":"https://api.github.com/users/grkuntzmd/followers","following_url":"https://api.github.com/users/grkuntzmd/following{/other_user}","gists_url":"https://api.github.com/users/grkuntzmd/gists{/gist_id}","starred_url":"https://api.github.com/users/grkuntzmd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grkuntzmd/subscriptions","organizations_url":"https://api.github.com/users/grkuntzmd/orgs","repos_url":"https://api.github.com/users/grkuntzmd/repos","events_url":"https://api.github.com/users/grkuntzmd/events{/privacy}","received_events_url":"https://api.github.com/users/grkuntzmd/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels/Definition:Bug","name":"Definition:Bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-01T19:23:18Z","updated_at":"2016-01-04T08:14:46Z","closed_at":null,"body":"The callback parameter for the `mongoose.geoNear` function is listed as\r\n\r\n    callback?: (err: any, res: T[]) => void\r\n\r\nAccording the the [mongoose documentation](http://mongoosejs.com/docs/api.html#model_Model.geoNear), the actual call needs a third parameter:\r\n\r\n    callback?: (err: any, res: T[], stats: any) => void"},"comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments/168607910","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7440#issuecomment-168607910","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/7440","id":168607910,"user":{"login":"horiuchi","id":32570,"avatar_url":"https://avatars.githubusercontent.com/u/32570?v=3","gravatar_id":"","url":"https://api.github.com/users/horiuchi","html_url":"https://github.com/horiuchi","followers_url":"https://api.github.com/users/horiuchi/followers","following_url":"https://api.github.com/users/horiuchi/following{/other_user}","gists_url":"https://api.github.com/users/horiuchi/gists{/gist_id}","starred_url":"https://api.github.com/users/horiuchi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/horiuchi/subscriptions","organizations_url":"https://api.github.com/users/horiuchi/orgs","repos_url":"https://api.github.com/users/horiuchi/repos","events_url":"https://api.github.com/users/horiuchi/events{/privacy}","received_events_url":"https://api.github.com/users/horiuchi/received_events","type":"User","site_admin":false},"created_at":"2016-01-04T08:14:46Z","updated_at":"2016-01-04T08:14:46Z","body":"Please fix this bug and send pull request :+1: "}}