payload: {"action":"created","comment":{"url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/comments/345423125","pull_request_review_id":315815375,"id":345423125,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0NTQyMzEyNQ==","diff_hunk":"@@ -0,0 +1,62 @@\n+import * as React from 'react';\r\n+\r\n+type DateInfo = {\r\n+    day: number;\r\n+    month: number;\r\n+    year: number;\r\n+}\r\n+\r\n+type Range = {\r\n+    from: DateInfo | null;\r\n+    To: DateInfo | null;\r\n+}\r\n+\r\n+export interface DatePickerProps {\r\n+    value: Range | DateInfo[] | null;\r\n+    onChange: (newValue: Range | DateInfo[] | null) => null;\r","path":"index.d.ts","position":16,"original_position":16,"commit_id":"5f9e2afdbbdb78bce3fd47652f8e71cadd5d5cd9","original_commit_id":"5f9e2afdbbdb78bce3fd47652f8e71cadd5d5cd9","user":{"login":"thebrodmann","id":20781126,"node_id":"MDQ6VXNlcjIwNzgxMTI2","avatar_url":"https://avatars3.githubusercontent.com/u/20781126?v=4","gravatar_id":"","url":"https://api.github.com/users/thebrodmann","html_url":"https://github.com/thebrodmann","followers_url":"https://api.github.com/users/thebrodmann/followers","following_url":"https://api.github.com/users/thebrodmann/following{/other_user}","gists_url":"https://api.github.com/users/thebrodmann/gists{/gist_id}","starred_url":"https://api.github.com/users/thebrodmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebrodmann/subscriptions","organizations_url":"https://api.github.com/users/thebrodmann/orgs","repos_url":"https://api.github.com/users/thebrodmann/repos","events_url":"https://api.github.com/users/thebrodmann/events{/privacy}","received_events_url":"https://api.github.com/users/thebrodmann/received_events","type":"User","site_admin":false},"body":"`void` is a better option as it can accept both null and undefined.","created_at":"2019-11-12T20:17:49Z","updated_at":"2019-11-12T20:17:49Z","html_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker/pull/63#discussion_r345423125","pull_request_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/comments/345423125"},"html":{"href":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker/pull/63#discussion_r345423125"},"pull_request":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63"}},"in_reply_to_id":345130654},"pull_request":{"url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63","id":339831184,"node_id":"MDExOlB1bGxSZXF1ZXN0MzM5ODMxMTg0","html_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker/pull/63","diff_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker/pull/63.diff","patch_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker/pull/63.patch","issue_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues/63","number":63,"state":"closed","locked":false,"title":"TypeScript type definition file","user":{"login":"thebrodmann","id":20781126,"node_id":"MDQ6VXNlcjIwNzgxMTI2","avatar_url":"https://avatars3.githubusercontent.com/u/20781126?v=4","gravatar_id":"","url":"https://api.github.com/users/thebrodmann","html_url":"https://github.com/thebrodmann","followers_url":"https://api.github.com/users/thebrodmann/followers","following_url":"https://api.github.com/users/thebrodmann/following{/other_user}","gists_url":"https://api.github.com/users/thebrodmann/gists{/gist_id}","starred_url":"https://api.github.com/users/thebrodmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thebrodmann/subscriptions","organizations_url":"https://api.github.com/users/thebrodmann/orgs","repos_url":"https://api.github.com/users/thebrodmann/repos","events_url":"https://api.github.com/users/thebrodmann/events{/privacy}","received_events_url":"https://api.github.com/users/thebrodmann/received_events","type":"User","site_admin":false},"body":"CC to @arminyahya and @Kiarash-Z.","created_at":"2019-11-12T10:18:11Z","updated_at":"2019-11-12T20:17:49Z","closed_at":"2019-11-12T14:47:08Z","merged_at":null,"merge_commit_sha":"3e39c6b093960fd7c5d14533104e7fe3eee85320","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63/commits","review_comments_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63/comments","review_comment_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues/63/comments","statuses_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/statuses/5f9e2afdbbdb78bce3fd47652f8e71cadd5d5cd9","head":{"label":"arminyahya:master","ref":"master","sha":"5f9e2afdbbdb78bce3fd47652f8e71cadd5d5cd9","user":{"login":"arminyahya","id":35793921,"node_id":"MDQ6VXNlcjM1NzkzOTIx","avatar_url":"https://avatars3.githubusercontent.com/u/35793921?v=4","gravatar_id":"","url":"https://api.github.com/users/arminyahya","html_url":"https://github.com/arminyahya","followers_url":"https://api.github.com/users/arminyahya/followers","following_url":"https://api.github.com/users/arminyahya/following{/other_user}","gists_url":"https://api.github.com/users/arminyahya/gists{/gist_id}","starred_url":"https://api.github.com/users/arminyahya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arminyahya/subscriptions","organizations_url":"https://api.github.com/users/arminyahya/orgs","repos_url":"https://api.github.com/users/arminyahya/repos","events_url":"https://api.github.com/users/arminyahya/events{/privacy}","received_events_url":"https://api.github.com/users/arminyahya/received_events","type":"User","site_admin":false},"repo":{"id":219924319,"node_id":"MDEwOlJlcG9zaXRvcnkyMTk5MjQzMTk=","name":"react-modern-calendar-datepicker","full_name":"arminyahya/react-modern-calendar-datepicker","private":false,"owner":{"login":"arminyahya","id":35793921,"node_id":"MDQ6VXNlcjM1NzkzOTIx","avatar_url":"https://avatars3.githubusercontent.com/u/35793921?v=4","gravatar_id":"","url":"https://api.github.com/users/arminyahya","html_url":"https://github.com/arminyahya","followers_url":"https://api.github.com/users/arminyahya/followers","following_url":"https://api.github.com/users/arminyahya/following{/other_user}","gists_url":"https://api.github.com/users/arminyahya/gists{/gist_id}","starred_url":"https://api.github.com/users/arminyahya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arminyahya/subscriptions","organizations_url":"https://api.github.com/users/arminyahya/orgs","repos_url":"https://api.github.com/users/arminyahya/repos","events_url":"https://api.github.com/users/arminyahya/events{/privacy}","received_events_url":"https://api.github.com/users/arminyahya/received_events","type":"User","site_admin":false},"html_url":"https://github.com/arminyahya/react-modern-calendar-datepicker","description":"A modern, beautiful, customizable date picker for React","fork":true,"url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker","forks_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/forks","keys_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/teams","hooks_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/hooks","issue_events_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/events","assignees_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/tags","blobs_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/languages","stargazers_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/stargazers","contributors_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/contributors","subscribers_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/subscribers","subscription_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/subscription","commits_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/merges","archive_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/downloads","issues_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/arminyahya/react-modern-calendar-datepicker/deployments","created_at":"2019-11-06T06:08:58Z","updated_at":"2019-11-06T06:14:31Z","pushed_at":"2019-11-06T06:14:29Z","git_url":"git://github.com/arminyahya/react-modern-calendar-datepicker.git","ssh_url":"git@github.com:arminyahya/react-modern-calendar-datepicker.git","clone_url":"https://github.com/arminyahya/react-modern-calendar-datepicker.git","svn_url":"https://github.com/arminyahya/react-modern-calendar-datepicker","homepage":"https://kiarash-z.github.io/react-modern-calendar-datepicker/","size":3531,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":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":"Kiarash-Z:develop","ref":"develop","sha":"814de0460ac885941ff5a0144a636d5f2e0a4fd5","user":{"login":"Kiarash-Z","id":20098648,"node_id":"MDQ6VXNlcjIwMDk4NjQ4","avatar_url":"https://avatars0.githubusercontent.com/u/20098648?v=4","gravatar_id":"","url":"https://api.github.com/users/Kiarash-Z","html_url":"https://github.com/Kiarash-Z","followers_url":"https://api.github.com/users/Kiarash-Z/followers","following_url":"https://api.github.com/users/Kiarash-Z/following{/other_user}","gists_url":"https://api.github.com/users/Kiarash-Z/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiarash-Z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiarash-Z/subscriptions","organizations_url":"https://api.github.com/users/Kiarash-Z/orgs","repos_url":"https://api.github.com/users/Kiarash-Z/repos","events_url":"https://api.github.com/users/Kiarash-Z/events{/privacy}","received_events_url":"https://api.github.com/users/Kiarash-Z/received_events","type":"User","site_admin":false},"repo":{"id":182072844,"node_id":"MDEwOlJlcG9zaXRvcnkxODIwNzI4NDQ=","name":"react-modern-calendar-datepicker","full_name":"Kiarash-Z/react-modern-calendar-datepicker","private":false,"owner":{"login":"Kiarash-Z","id":20098648,"node_id":"MDQ6VXNlcjIwMDk4NjQ4","avatar_url":"https://avatars0.githubusercontent.com/u/20098648?v=4","gravatar_id":"","url":"https://api.github.com/users/Kiarash-Z","html_url":"https://github.com/Kiarash-Z","followers_url":"https://api.github.com/users/Kiarash-Z/followers","following_url":"https://api.github.com/users/Kiarash-Z/following{/other_user}","gists_url":"https://api.github.com/users/Kiarash-Z/gists{/gist_id}","starred_url":"https://api.github.com/users/Kiarash-Z/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kiarash-Z/subscriptions","organizations_url":"https://api.github.com/users/Kiarash-Z/orgs","repos_url":"https://api.github.com/users/Kiarash-Z/repos","events_url":"https://api.github.com/users/Kiarash-Z/events{/privacy}","received_events_url":"https://api.github.com/users/Kiarash-Z/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker","description":"A modern, beautiful, customizable date picker for React","fork":false,"url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker","forks_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/forks","keys_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/teams","hooks_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/hooks","issue_events_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues/events{/number}","events_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/events","assignees_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/assignees{/user}","branches_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/branches{/branch}","tags_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/tags","blobs_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/statuses/{sha}","languages_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/languages","stargazers_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/stargazers","contributors_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/contributors","subscribers_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/subscribers","subscription_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/subscription","commits_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/contents/{+path}","compare_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/merges","archive_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/downloads","issues_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues{/number}","pulls_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls{/number}","milestones_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/milestones{/number}","notifications_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/labels{/name}","releases_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/releases{/id}","deployments_url":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/deployments","created_at":"2019-04-18T11:10:10Z","updated_at":"2019-11-11T06:09:12Z","pushed_at":"2019-11-12T10:18:12Z","git_url":"git://github.com/Kiarash-Z/react-modern-calendar-datepicker.git","ssh_url":"git@github.com:Kiarash-Z/react-modern-calendar-datepicker.git","clone_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker.git","svn_url":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker","homepage":"https://kiarash-z.github.io/react-modern-calendar-datepicker/","size":3529,"stargazers_count":210,"watchers_count":210,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":21,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":3,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":21,"open_issues":3,"watchers":210,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63"},"html":{"href":"https://github.com/Kiarash-Z/react-modern-calendar-datepicker/pull/63"},"issue":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues/63"},"comments":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/issues/63/comments"},"review_comments":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63/comments"},"review_comment":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/pulls/63/commits"},"statuses":{"href":"https://api.github.com/repos/Kiarash-Z/react-modern-calendar-datepicker/statuses/5f9e2afdbbdb78bce3fd47652f8e71cadd5d5cd9"}},"author_association":"NONE"}}
other: {"actor":{"display_login":"thebrodmann"}}