{"action":"created","comment":{"url":"https://api.github.com/repos/piotrwitek/utility-types/pulls/comments/235589206","pull_request_review_id":177489566,"id":235589206,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzNTU4OTIwNg==","diff_hunk":"@@ -468,7 +469,7 @@ import { DeepRequired } from 'utility-types';\n type NestedProps = {\n   first?: {\n     second?: {\n-      name?: string | null | undefined;\n+      name?: string;","path":"README.md","position":13,"original_position":13,"commit_id":"18962c6c25d23b2a9f1139ec8880d998939a95bc","original_commit_id":"18962c6c25d23b2a9f1139ec8880d998939a95bc","user":{"login":"malash","id":1812118,"node_id":"MDQ6VXNlcjE4MTIxMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1812118?v=4","gravatar_id":"","url":"https://api.github.com/users/malash","html_url":"https://github.com/malash","followers_url":"https://api.github.com/users/malash/followers","following_url":"https://api.github.com/users/malash/following{/other_user}","gists_url":"https://api.github.com/users/malash/gists{/gist_id}","starred_url":"https://api.github.com/users/malash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malash/subscriptions","organizations_url":"https://api.github.com/users/malash/orgs","repos_url":"https://api.github.com/users/malash/repos","events_url":"https://api.github.com/users/malash/events{/privacy}","received_events_url":"https://api.github.com/users/malash/received_events","type":"User","site_admin":false},"body":"I fixed a typo here.","created_at":"2018-11-22T02:52:12Z","updated_at":"2018-11-22T02:52:35Z","html_url":"https://github.com/piotrwitek/utility-types/pull/35#discussion_r235589206","pull_request_url":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/piotrwitek/utility-types/pulls/comments/235589206"},"html":{"href":"https://github.com/piotrwitek/utility-types/pull/35#discussion_r235589206"},"pull_request":{"href":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35","id":232557619,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMyNTU3NjE5","html_url":"https://github.com/piotrwitek/utility-types/pull/35","diff_url":"https://github.com/piotrwitek/utility-types/pull/35.diff","patch_url":"https://github.com/piotrwitek/utility-types/pull/35.patch","issue_url":"https://api.github.com/repos/piotrwitek/utility-types/issues/35","number":35,"state":"open","locked":false,"title":"Add DeepNonNullable","user":{"login":"malash","id":1812118,"node_id":"MDQ6VXNlcjE4MTIxMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1812118?v=4","gravatar_id":"","url":"https://api.github.com/users/malash","html_url":"https://github.com/malash","followers_url":"https://api.github.com/users/malash/followers","following_url":"https://api.github.com/users/malash/following{/other_user}","gists_url":"https://api.github.com/users/malash/gists{/gist_id}","starred_url":"https://api.github.com/users/malash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malash/subscriptions","organizations_url":"https://api.github.com/users/malash/orgs","repos_url":"https://api.github.com/users/malash/repos","events_url":"https://api.github.com/users/malash/events{/privacy}","received_events_url":"https://api.github.com/users/malash/received_events","type":"User","site_admin":false},"body":"As I mentioned in the PR https://github.com/piotrwitek/utility-types/pull/33 I have created a new type `DeepNonNullable`.\r\n\r\n```ts\r\ntype NestedProps = {\r\n  first?: null | {\r\n    second?: null | {\r\n      name?: null | string;\r\n    };\r\n  };\r\n};\r\nlet a = {} as NestedProps;\r\nconst s1: string = a.first!.second!.name!;\r\nlet b = {} as DeepNonNullable<NestedProps>;\r\nconst s2: string = b.first.second.name;\r\n```","created_at":"2018-11-21T06:59:31Z","updated_at":"2018-11-22T02:52:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b975e9c92a9b7fcfadf7954d3ed6586f09c62600","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35/commits","review_comments_url":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35/comments","review_comment_url":"https://api.github.com/repos/piotrwitek/utility-types/pulls/comments{/number}","comments_url":"https://api.github.com/repos/piotrwitek/utility-types/issues/35/comments","statuses_url":"https://api.github.com/repos/piotrwitek/utility-types/statuses/18962c6c25d23b2a9f1139ec8880d998939a95bc","head":{"label":"malash:feature/deep-non-nullable","ref":"feature/deep-non-nullable","sha":"18962c6c25d23b2a9f1139ec8880d998939a95bc","user":{"login":"malash","id":1812118,"node_id":"MDQ6VXNlcjE4MTIxMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1812118?v=4","gravatar_id":"","url":"https://api.github.com/users/malash","html_url":"https://github.com/malash","followers_url":"https://api.github.com/users/malash/followers","following_url":"https://api.github.com/users/malash/following{/other_user}","gists_url":"https://api.github.com/users/malash/gists{/gist_id}","starred_url":"https://api.github.com/users/malash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malash/subscriptions","organizations_url":"https://api.github.com/users/malash/orgs","repos_url":"https://api.github.com/users/malash/repos","events_url":"https://api.github.com/users/malash/events{/privacy}","received_events_url":"https://api.github.com/users/malash/received_events","type":"User","site_admin":false},"repo":{"id":158502287,"node_id":"MDEwOlJlcG9zaXRvcnkxNTg1MDIyODc=","name":"utility-types","full_name":"malash/utility-types","private":false,"owner":{"login":"malash","id":1812118,"node_id":"MDQ6VXNlcjE4MTIxMTg=","avatar_url":"https://avatars1.githubusercontent.com/u/1812118?v=4","gravatar_id":"","url":"https://api.github.com/users/malash","html_url":"https://github.com/malash","followers_url":"https://api.github.com/users/malash/followers","following_url":"https://api.github.com/users/malash/following{/other_user}","gists_url":"https://api.github.com/users/malash/gists{/gist_id}","starred_url":"https://api.github.com/users/malash/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malash/subscriptions","organizations_url":"https://api.github.com/users/malash/orgs","repos_url":"https://api.github.com/users/malash/repos","events_url":"https://api.github.com/users/malash/events{/privacy}","received_events_url":"https://api.github.com/users/malash/received_events","type":"User","site_admin":false},"html_url":"https://github.com/malash/utility-types","description":"Utility Types for TypeScript (provide migration from Flow's Utility Types)","fork":true,"url":"https://api.github.com/repos/malash/utility-types","forks_url":"https://api.github.com/repos/malash/utility-types/forks","keys_url":"https://api.github.com/repos/malash/utility-types/keys{/key_id}","collaborators_url":"https://api.github.com/repos/malash/utility-types/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/malash/utility-types/teams","hooks_url":"https://api.github.com/repos/malash/utility-types/hooks","issue_events_url":"https://api.github.com/repos/malash/utility-types/issues/events{/number}","events_url":"https://api.github.com/repos/malash/utility-types/events","assignees_url":"https://api.github.com/repos/malash/utility-types/assignees{/user}","branches_url":"https://api.github.com/repos/malash/utility-types/branches{/branch}","tags_url":"https://api.github.com/repos/malash/utility-types/tags","blobs_url":"https://api.github.com/repos/malash/utility-types/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/malash/utility-types/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/malash/utility-types/git/refs{/sha}","trees_url":"https://api.github.com/repos/malash/utility-types/git/trees{/sha}","statuses_url":"https://api.github.com/repos/malash/utility-types/statuses/{sha}","languages_url":"https://api.github.com/repos/malash/utility-types/languages","stargazers_url":"https://api.github.com/repos/malash/utility-types/stargazers","contributors_url":"https://api.github.com/repos/malash/utility-types/contributors","subscribers_url":"https://api.github.com/repos/malash/utility-types/subscribers","subscription_url":"https://api.github.com/repos/malash/utility-types/subscription","commits_url":"https://api.github.com/repos/malash/utility-types/commits{/sha}","git_commits_url":"https://api.github.com/repos/malash/utility-types/git/commits{/sha}","comments_url":"https://api.github.com/repos/malash/utility-types/comments{/number}","issue_comment_url":"https://api.github.com/repos/malash/utility-types/issues/comments{/number}","contents_url":"https://api.github.com/repos/malash/utility-types/contents/{+path}","compare_url":"https://api.github.com/repos/malash/utility-types/compare/{base}...{head}","merges_url":"https://api.github.com/repos/malash/utility-types/merges","archive_url":"https://api.github.com/repos/malash/utility-types/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/malash/utility-types/downloads","issues_url":"https://api.github.com/repos/malash/utility-types/issues{/number}","pulls_url":"https://api.github.com/repos/malash/utility-types/pulls{/number}","milestones_url":"https://api.github.com/repos/malash/utility-types/milestones{/number}","notifications_url":"https://api.github.com/repos/malash/utility-types/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/malash/utility-types/labels{/name}","releases_url":"https://api.github.com/repos/malash/utility-types/releases{/id}","deployments_url":"https://api.github.com/repos/malash/utility-types/deployments","created_at":"2018-11-21T06:37:14Z","updated_at":"2018-11-21T06:37:16Z","pushed_at":"2018-11-22T02:51:44Z","git_url":"git://github.com/malash/utility-types.git","ssh_url":"git@github.com:malash/utility-types.git","clone_url":"https://github.com/malash/utility-types.git","svn_url":"https://github.com/malash/utility-types","homepage":"","size":247,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"piotrwitek:master","ref":"master","sha":"7c45a76647616d783df7ce64384bec5eb08607fe","user":{"login":"piotrwitek","id":739075,"node_id":"MDQ6VXNlcjczOTA3NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/739075?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrwitek","html_url":"https://github.com/piotrwitek","followers_url":"https://api.github.com/users/piotrwitek/followers","following_url":"https://api.github.com/users/piotrwitek/following{/other_user}","gists_url":"https://api.github.com/users/piotrwitek/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrwitek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrwitek/subscriptions","organizations_url":"https://api.github.com/users/piotrwitek/orgs","repos_url":"https://api.github.com/users/piotrwitek/repos","events_url":"https://api.github.com/users/piotrwitek/events{/privacy}","received_events_url":"https://api.github.com/users/piotrwitek/received_events","type":"User","site_admin":false},"repo":{"id":76400842,"node_id":"MDEwOlJlcG9zaXRvcnk3NjQwMDg0Mg==","name":"utility-types","full_name":"piotrwitek/utility-types","private":false,"owner":{"login":"piotrwitek","id":739075,"node_id":"MDQ6VXNlcjczOTA3NQ==","avatar_url":"https://avatars0.githubusercontent.com/u/739075?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrwitek","html_url":"https://github.com/piotrwitek","followers_url":"https://api.github.com/users/piotrwitek/followers","following_url":"https://api.github.com/users/piotrwitek/following{/other_user}","gists_url":"https://api.github.com/users/piotrwitek/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrwitek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrwitek/subscriptions","organizations_url":"https://api.github.com/users/piotrwitek/orgs","repos_url":"https://api.github.com/users/piotrwitek/repos","events_url":"https://api.github.com/users/piotrwitek/events{/privacy}","received_events_url":"https://api.github.com/users/piotrwitek/received_events","type":"User","site_admin":false},"html_url":"https://github.com/piotrwitek/utility-types","description":"Utility Types for TypeScript (provide migration from Flow's Utility Types)","fork":false,"url":"https://api.github.com/repos/piotrwitek/utility-types","forks_url":"https://api.github.com/repos/piotrwitek/utility-types/forks","keys_url":"https://api.github.com/repos/piotrwitek/utility-types/keys{/key_id}","collaborators_url":"https://api.github.com/repos/piotrwitek/utility-types/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/piotrwitek/utility-types/teams","hooks_url":"https://api.github.com/repos/piotrwitek/utility-types/hooks","issue_events_url":"https://api.github.com/repos/piotrwitek/utility-types/issues/events{/number}","events_url":"https://api.github.com/repos/piotrwitek/utility-types/events","assignees_url":"https://api.github.com/repos/piotrwitek/utility-types/assignees{/user}","branches_url":"https://api.github.com/repos/piotrwitek/utility-types/branches{/branch}","tags_url":"https://api.github.com/repos/piotrwitek/utility-types/tags","blobs_url":"https://api.github.com/repos/piotrwitek/utility-types/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/piotrwitek/utility-types/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/piotrwitek/utility-types/git/refs{/sha}","trees_url":"https://api.github.com/repos/piotrwitek/utility-types/git/trees{/sha}","statuses_url":"https://api.github.com/repos/piotrwitek/utility-types/statuses/{sha}","languages_url":"https://api.github.com/repos/piotrwitek/utility-types/languages","stargazers_url":"https://api.github.com/repos/piotrwitek/utility-types/stargazers","contributors_url":"https://api.github.com/repos/piotrwitek/utility-types/contributors","subscribers_url":"https://api.github.com/repos/piotrwitek/utility-types/subscribers","subscription_url":"https://api.github.com/repos/piotrwitek/utility-types/subscription","commits_url":"https://api.github.com/repos/piotrwitek/utility-types/commits{/sha}","git_commits_url":"https://api.github.com/repos/piotrwitek/utility-types/git/commits{/sha}","comments_url":"https://api.github.com/repos/piotrwitek/utility-types/comments{/number}","issue_comment_url":"https://api.github.com/repos/piotrwitek/utility-types/issues/comments{/number}","contents_url":"https://api.github.com/repos/piotrwitek/utility-types/contents/{+path}","compare_url":"https://api.github.com/repos/piotrwitek/utility-types/compare/{base}...{head}","merges_url":"https://api.github.com/repos/piotrwitek/utility-types/merges","archive_url":"https://api.github.com/repos/piotrwitek/utility-types/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/piotrwitek/utility-types/downloads","issues_url":"https://api.github.com/repos/piotrwitek/utility-types/issues{/number}","pulls_url":"https://api.github.com/repos/piotrwitek/utility-types/pulls{/number}","milestones_url":"https://api.github.com/repos/piotrwitek/utility-types/milestones{/number}","notifications_url":"https://api.github.com/repos/piotrwitek/utility-types/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/piotrwitek/utility-types/labels{/name}","releases_url":"https://api.github.com/repos/piotrwitek/utility-types/releases{/id}","deployments_url":"https://api.github.com/repos/piotrwitek/utility-types/deployments","created_at":"2016-12-13T21:41:41Z","updated_at":"2018-11-21T14:18:57Z","pushed_at":"2018-11-22T02:51:45Z","git_url":"git://github.com/piotrwitek/utility-types.git","ssh_url":"git@github.com:piotrwitek/utility-types.git","clone_url":"https://github.com/piotrwitek/utility-types.git","svn_url":"https://github.com/piotrwitek/utility-types","homepage":"","size":241,"stargazers_count":410,"watchers_count":410,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":10,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":15,"open_issues":10,"watchers":410,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35"},"html":{"href":"https://github.com/piotrwitek/utility-types/pull/35"},"issue":{"href":"https://api.github.com/repos/piotrwitek/utility-types/issues/35"},"comments":{"href":"https://api.github.com/repos/piotrwitek/utility-types/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/piotrwitek/utility-types/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/piotrwitek/utility-types/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/piotrwitek/utility-types/statuses/18962c6c25d23b2a9f1139ec8880d998939a95bc"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"malash"}}