{"action":"closed","issue":{"url":"https://api.github.com/repos/argon/node-apn/issues/300","labels_url":"https://api.github.com/repos/argon/node-apn/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/argon/node-apn/issues/300/comments","events_url":"https://api.github.com/repos/argon/node-apn/issues/300/events","html_url":"https://github.com/argon/node-apn/issues/300","id":101748926,"number":300,"title":"Feedback documentation claims device is a Buffer but in reality it's a Device","user":{"login":"Zenorbi","id":313625,"avatar_url":"https://avatars.githubusercontent.com/u/313625?v=3","gravatar_id":"","url":"https://api.github.com/users/Zenorbi","html_url":"https://github.com/Zenorbi","followers_url":"https://api.github.com/users/Zenorbi/followers","following_url":"https://api.github.com/users/Zenorbi/following{/other_user}","gists_url":"https://api.github.com/users/Zenorbi/gists{/gist_id}","starred_url":"https://api.github.com/users/Zenorbi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zenorbi/subscriptions","organizations_url":"https://api.github.com/users/Zenorbi/orgs","repos_url":"https://api.github.com/users/Zenorbi/repos","events_url":"https://api.github.com/users/Zenorbi/events{/privacy}","received_events_url":"https://api.github.com/users/Zenorbi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-08-18T21:06:00Z","updated_at":"2015-08-19T08:21:11Z","closed_at":"2015-08-19T08:21:11Z","body":"In `doc/feedback.markdown` at the bottom:\r\n\r\n[...] each containing the `time` returned by the server (epoch time) and the `device` a `Buffer` containing the device token [...]\r\n\r\nBut in reality the property `device` is a `Device` object. Is it a documentation or an implementation error? I'm asking because the pull request made [here](https://github.com/borisyankov/DefinitelyTyped/pull/5400) follows the documentation and I may need to patch the definition file."}}