{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/flow/issues/6804","repository_url":"https://api.github.com/repos/facebook/flow","labels_url":"https://api.github.com/repos/facebook/flow/issues/6804/labels{/name}","comments_url":"https://api.github.com/repos/facebook/flow/issues/6804/comments","events_url":"https://api.github.com/repos/facebook/flow/issues/6804/events","html_url":"https://github.com/facebook/flow/issues/6804","id":354763379,"node_id":"MDU6SXNzdWUzNTQ3NjMzNzk=","number":6804,"title":"wrong return type for setAAD method in node.js cipher class","user":{"login":"farzonl","id":1802579,"node_id":"MDQ6VXNlcjE4MDI1Nzk=","avatar_url":"https://avatars0.githubusercontent.com/u/1802579?v=4","gravatar_id":"","url":"https://api.github.com/users/farzonl","html_url":"https://github.com/farzonl","followers_url":"https://api.github.com/users/farzonl/followers","following_url":"https://api.github.com/users/farzonl/following{/other_user}","gists_url":"https://api.github.com/users/farzonl/gists{/gist_id}","starred_url":"https://api.github.com/users/farzonl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/farzonl/subscriptions","organizations_url":"https://api.github.com/users/farzonl/orgs","repos_url":"https://api.github.com/users/farzonl/repos","events_url":"https://api.github.com/users/farzonl/events{/privacy}","received_events_url":"https://api.github.com/users/farzonl/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-28T14:41:26Z","updated_at":"2018-09-06T03:03:04Z","closed_at":"2018-09-06T03:03:04Z","author_association":"NONE","body":"[cipher.setAAD\r\n](https://nodejs.org/api/crypto.html#crypto_cipher_setaad_buffer_options) is suppose to return a Cipher class instance, flow thinks it returns nothing\r\n\r\nex.\r\n    [/private/tmp/flow/flowlib_13846dd/node.js](https://github.com/facebook/flow/blob/master/lib/node.js#L358)\r\n [1] 358│   setAAD(buffer: Buffer): void;"}}
{"actor":{"display_login":"mrkev"}}