{"action":"created","issue":{"url":"https://api.github.com/repos/flowtype/flow-typed/issues/1793","repository_url":"https://api.github.com/repos/flowtype/flow-typed","labels_url":"https://api.github.com/repos/flowtype/flow-typed/issues/1793/labels{/name}","comments_url":"https://api.github.com/repos/flowtype/flow-typed/issues/1793/comments","events_url":"https://api.github.com/repos/flowtype/flow-typed/issues/1793/events","html_url":"https://github.com/flowtype/flow-typed/pull/1793","id":293117439,"number":1793,"title":"lodash add %checks to isNil","user":{"login":"danielbartsch","id":19350749,"avatar_url":"https://avatars3.githubusercontent.com/u/19350749?v=4","gravatar_id":"","url":"https://api.github.com/users/danielbartsch","html_url":"https://github.com/danielbartsch","followers_url":"https://api.github.com/users/danielbartsch/followers","following_url":"https://api.github.com/users/danielbartsch/following{/other_user}","gists_url":"https://api.github.com/users/danielbartsch/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbartsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbartsch/subscriptions","organizations_url":"https://api.github.com/users/danielbartsch/orgs","repos_url":"https://api.github.com/users/danielbartsch/repos","events_url":"https://api.github.com/users/danielbartsch/events{/privacy}","received_events_url":"https://api.github.com/users/danielbartsch/received_events","type":"User","site_admin":false},"labels":[{"id":261936125,"url":"https://api.github.com/repos/flowtype/flow-typed/labels/question","name":"question","color":"8c0095","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-01-31T11:06:27Z","updated_at":"2018-02-05T14:08:29Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/flowtype/flow-typed/pulls/1793","html_url":"https://github.com/flowtype/flow-typed/pull/1793","diff_url":"https://github.com/flowtype/flow-typed/pull/1793.diff","patch_url":"https://github.com/flowtype/flow-typed/pull/1793.patch"},"body":"I had to change the `lodash class` to a module, because `%checks` seems [not to be allowed in classes](https://github.com/facebook/flow/issues/4723#issuecomment-340513481)\r\n\r\nThis ensures that flow gets that `isNil` checks if the parameter is null or undefined. (Same as [in ramda](https://github.com/flowtype/flow-typed/pull/1504))"},"comment":{"url":"https://api.github.com/repos/flowtype/flow-typed/issues/comments/363094557","html_url":"https://github.com/flowtype/flow-typed/pull/1793#issuecomment-363094557","issue_url":"https://api.github.com/repos/flowtype/flow-typed/issues/1793","id":363094557,"user":{"login":"danielbartsch","id":19350749,"avatar_url":"https://avatars3.githubusercontent.com/u/19350749?v=4","gravatar_id":"","url":"https://api.github.com/users/danielbartsch","html_url":"https://github.com/danielbartsch","followers_url":"https://api.github.com/users/danielbartsch/followers","following_url":"https://api.github.com/users/danielbartsch/following{/other_user}","gists_url":"https://api.github.com/users/danielbartsch/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbartsch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbartsch/subscriptions","organizations_url":"https://api.github.com/users/danielbartsch/orgs","repos_url":"https://api.github.com/users/danielbartsch/repos","events_url":"https://api.github.com/users/danielbartsch/events{/privacy}","received_events_url":"https://api.github.com/users/danielbartsch/received_events","type":"User","site_admin":false},"created_at":"2018-02-05T14:08:29Z","updated_at":"2018-02-05T14:08:29Z","author_association":"NONE","body":"It worked with `import _ from 'lodash'`, but not with `const _ = require('lodash')`"}}
{"actor":{"display_login":"danielbartsch"}}