{"action":"created","comment":{"url":"https://api.github.com/repos/reactjs/redux/pulls/comments/53524669","id":53524669,"diff_hunk":"@@ -0,0 +1,111 @@\n+export interface Action<T> {\n+  type: T;\n+}\n+\n+\n+/* reducers */\n+\n+export type Reducer<S> = <A extends Action<any>>(state: S, action: A) => S;\n+\n+export interface ReducersMapObject {\n+  [key: string]: Reducer<any>;\n+}\n+\n+export function combineReducers<S>(reducers: ReducersMapObject): Reducer<S>;\n+export function combineReducers<S, M extends ReducersMapObject>(\n+  reducers: M\n+): Reducer<S>;\n+\n+\n+/* store */\n+\n+export interface Dispatch {\n+  <A>(action: A): A;\n+  <A, B>(action: A): B;\n+}\n+\n+export interface Unsubscribe {\n+  (): void;\n+}\n+\n+export interface Store<S> {\n+  dispatch: Dispatch;\n+  getState(): S;\n+  subscribe(listener: () => void): Unsubscribe;\n+  replaceReducer(reducer: Reducer<S>): void;\n+}\n+\n+export interface StoreCreator {\n+  <S>(reducer: Reducer<S>): Store<S>;\n+  <S>(reducer: Reducer<S>, initialState: S): Store<S>;\n+\n+  <S>(reducer: Reducer<S>, enhancer: StoreEnhancer): Store<S>;\n+  <S>(reducer: Reducer<S>, initialState: S, enhancer: StoreEnhancer): Store<S>;","path":"index.d.ts","position":43,"original_position":43,"commit_id":"16325a227b5148bb6321230e7be273c0e4cfb364","original_commit_id":"16325a227b5148bb6321230e7be273c0e4cfb364","user":{"login":"ulfryk","id":1754948,"avatar_url":"https://avatars.githubusercontent.com/u/1754948?v=3","gravatar_id":"","url":"https://api.github.com/users/ulfryk","html_url":"https://github.com/ulfryk","followers_url":"https://api.github.com/users/ulfryk/followers","following_url":"https://api.github.com/users/ulfryk/following{/other_user}","gists_url":"https://api.github.com/users/ulfryk/gists{/gist_id}","starred_url":"https://api.github.com/users/ulfryk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ulfryk/subscriptions","organizations_url":"https://api.github.com/users/ulfryk/orgs","repos_url":"https://api.github.com/users/ulfryk/repos","events_url":"https://api.github.com/users/ulfryk/events{/privacy}","received_events_url":"https://api.github.com/users/ulfryk/received_events","type":"User","site_admin":false},"body":":+1:","created_at":"2016-02-19T22:00:48Z","updated_at":"2016-02-19T22:00:48Z","html_url":"https://github.com/reactjs/redux/pull/1413#discussion_r53524669","pull_request_url":"https://api.github.com/repos/reactjs/redux/pulls/1413","_links":{"self":{"href":"https://api.github.com/repos/reactjs/redux/pulls/comments/53524669"},"html":{"href":"https://github.com/reactjs/redux/pull/1413#discussion_r53524669"},"pull_request":{"href":"https://api.github.com/repos/reactjs/redux/pulls/1413"}}},"pull_request":{"url":"https://api.github.com/repos/reactjs/redux/pulls/1413","id":59509687,"html_url":"https://github.com/reactjs/redux/pull/1413","diff_url":"https://github.com/reactjs/redux/pull/1413.diff","patch_url":"https://github.com/reactjs/redux/pull/1413.patch","issue_url":"https://api.github.com/repos/reactjs/redux/issues/1413","number":1413,"state":"open","locked":false,"title":"Add TypeScript definitions","user":{"login":"aikoven","id":857709,"avatar_url":"https://avatars.githubusercontent.com/u/857709?v=3","gravatar_id":"","url":"https://api.github.com/users/aikoven","html_url":"https://github.com/aikoven","followers_url":"https://api.github.com/users/aikoven/followers","following_url":"https://api.github.com/users/aikoven/following{/other_user}","gists_url":"https://api.github.com/users/aikoven/gists{/gist_id}","starred_url":"https://api.github.com/users/aikoven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aikoven/subscriptions","organizations_url":"https://api.github.com/users/aikoven/orgs","repos_url":"https://api.github.com/users/aikoven/repos","events_url":"https://api.github.com/users/aikoven/events{/privacy}","received_events_url":"https://api.github.com/users/aikoven/received_events","type":"User","site_admin":false},"body":"Original issue: https://github.com/reactjs/redux/issues/1401","created_at":"2016-02-16T15:49:47Z","updated_at":"2016-02-19T22:00:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48768cf3eb79338a64b346c5df42b6e07651247b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/reactjs/redux/pulls/1413/commits","review_comments_url":"https://api.github.com/repos/reactjs/redux/pulls/1413/comments","review_comment_url":"https://api.github.com/repos/reactjs/redux/pulls/comments{/number}","comments_url":"https://api.github.com/repos/reactjs/redux/issues/1413/comments","statuses_url":"https://api.github.com/repos/reactjs/redux/statuses/16325a227b5148bb6321230e7be273c0e4cfb364","head":{"label":"aikoven:typescript-definitions","ref":"typescript-definitions","sha":"16325a227b5148bb6321230e7be273c0e4cfb364","user":{"login":"aikoven","id":857709,"avatar_url":"https://avatars.githubusercontent.com/u/857709?v=3","gravatar_id":"","url":"https://api.github.com/users/aikoven","html_url":"https://github.com/aikoven","followers_url":"https://api.github.com/users/aikoven/followers","following_url":"https://api.github.com/users/aikoven/following{/other_user}","gists_url":"https://api.github.com/users/aikoven/gists{/gist_id}","starred_url":"https://api.github.com/users/aikoven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aikoven/subscriptions","organizations_url":"https://api.github.com/users/aikoven/orgs","repos_url":"https://api.github.com/users/aikoven/repos","events_url":"https://api.github.com/users/aikoven/events{/privacy}","received_events_url":"https://api.github.com/users/aikoven/received_events","type":"User","site_admin":false},"repo":{"id":51847740,"name":"redux","full_name":"aikoven/redux","owner":{"login":"aikoven","id":857709,"avatar_url":"https://avatars.githubusercontent.com/u/857709?v=3","gravatar_id":"","url":"https://api.github.com/users/aikoven","html_url":"https://github.com/aikoven","followers_url":"https://api.github.com/users/aikoven/followers","following_url":"https://api.github.com/users/aikoven/following{/other_user}","gists_url":"https://api.github.com/users/aikoven/gists{/gist_id}","starred_url":"https://api.github.com/users/aikoven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aikoven/subscriptions","organizations_url":"https://api.github.com/users/aikoven/orgs","repos_url":"https://api.github.com/users/aikoven/repos","events_url":"https://api.github.com/users/aikoven/events{/privacy}","received_events_url":"https://api.github.com/users/aikoven/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/aikoven/redux","description":"Predictable state container for JavaScript apps","fork":true,"url":"https://api.github.com/repos/aikoven/redux","forks_url":"https://api.github.com/repos/aikoven/redux/forks","keys_url":"https://api.github.com/repos/aikoven/redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/aikoven/redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/aikoven/redux/teams","hooks_url":"https://api.github.com/repos/aikoven/redux/hooks","issue_events_url":"https://api.github.com/repos/aikoven/redux/issues/events{/number}","events_url":"https://api.github.com/repos/aikoven/redux/events","assignees_url":"https://api.github.com/repos/aikoven/redux/assignees{/user}","branches_url":"https://api.github.com/repos/aikoven/redux/branches{/branch}","tags_url":"https://api.github.com/repos/aikoven/redux/tags","blobs_url":"https://api.github.com/repos/aikoven/redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/aikoven/redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/aikoven/redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/aikoven/redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/aikoven/redux/statuses/{sha}","languages_url":"https://api.github.com/repos/aikoven/redux/languages","stargazers_url":"https://api.github.com/repos/aikoven/redux/stargazers","contributors_url":"https://api.github.com/repos/aikoven/redux/contributors","subscribers_url":"https://api.github.com/repos/aikoven/redux/subscribers","subscription_url":"https://api.github.com/repos/aikoven/redux/subscription","commits_url":"https://api.github.com/repos/aikoven/redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/aikoven/redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/aikoven/redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/aikoven/redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/aikoven/redux/contents/{+path}","compare_url":"https://api.github.com/repos/aikoven/redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/aikoven/redux/merges","archive_url":"https://api.github.com/repos/aikoven/redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/aikoven/redux/downloads","issues_url":"https://api.github.com/repos/aikoven/redux/issues{/number}","pulls_url":"https://api.github.com/repos/aikoven/redux/pulls{/number}","milestones_url":"https://api.github.com/repos/aikoven/redux/milestones{/number}","notifications_url":"https://api.github.com/repos/aikoven/redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/aikoven/redux/labels{/name}","releases_url":"https://api.github.com/repos/aikoven/redux/releases{/id}","deployments_url":"https://api.github.com/repos/aikoven/redux/deployments","created_at":"2016-02-16T15:47:06Z","updated_at":"2016-02-16T15:47:07Z","pushed_at":"2016-02-19T11:24:44Z","git_url":"git://github.com/aikoven/redux.git","ssh_url":"git@github.com:aikoven/redux.git","clone_url":"https://github.com/aikoven/redux.git","svn_url":"https://github.com/aikoven/redux","homepage":"http://redux.js.org","size":2847,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"reactjs:master","ref":"master","sha":"abcf6c2fe7392cf7719bd92b6096a24bcb5480d1","user":{"login":"reactjs","id":6412038,"avatar_url":"https://avatars.githubusercontent.com/u/6412038?v=3","gravatar_id":"","url":"https://api.github.com/users/reactjs","html_url":"https://github.com/reactjs","followers_url":"https://api.github.com/users/reactjs/followers","following_url":"https://api.github.com/users/reactjs/following{/other_user}","gists_url":"https://api.github.com/users/reactjs/gists{/gist_id}","starred_url":"https://api.github.com/users/reactjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactjs/subscriptions","organizations_url":"https://api.github.com/users/reactjs/orgs","repos_url":"https://api.github.com/users/reactjs/repos","events_url":"https://api.github.com/users/reactjs/events{/privacy}","received_events_url":"https://api.github.com/users/reactjs/received_events","type":"Organization","site_admin":false},"repo":{"id":36535156,"name":"redux","full_name":"reactjs/redux","owner":{"login":"reactjs","id":6412038,"avatar_url":"https://avatars.githubusercontent.com/u/6412038?v=3","gravatar_id":"","url":"https://api.github.com/users/reactjs","html_url":"https://github.com/reactjs","followers_url":"https://api.github.com/users/reactjs/followers","following_url":"https://api.github.com/users/reactjs/following{/other_user}","gists_url":"https://api.github.com/users/reactjs/gists{/gist_id}","starred_url":"https://api.github.com/users/reactjs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reactjs/subscriptions","organizations_url":"https://api.github.com/users/reactjs/orgs","repos_url":"https://api.github.com/users/reactjs/repos","events_url":"https://api.github.com/users/reactjs/events{/privacy}","received_events_url":"https://api.github.com/users/reactjs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/reactjs/redux","description":"Predictable state container for JavaScript apps","fork":false,"url":"https://api.github.com/repos/reactjs/redux","forks_url":"https://api.github.com/repos/reactjs/redux/forks","keys_url":"https://api.github.com/repos/reactjs/redux/keys{/key_id}","collaborators_url":"https://api.github.com/repos/reactjs/redux/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/reactjs/redux/teams","hooks_url":"https://api.github.com/repos/reactjs/redux/hooks","issue_events_url":"https://api.github.com/repos/reactjs/redux/issues/events{/number}","events_url":"https://api.github.com/repos/reactjs/redux/events","assignees_url":"https://api.github.com/repos/reactjs/redux/assignees{/user}","branches_url":"https://api.github.com/repos/reactjs/redux/branches{/branch}","tags_url":"https://api.github.com/repos/reactjs/redux/tags","blobs_url":"https://api.github.com/repos/reactjs/redux/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/reactjs/redux/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/reactjs/redux/git/refs{/sha}","trees_url":"https://api.github.com/repos/reactjs/redux/git/trees{/sha}","statuses_url":"https://api.github.com/repos/reactjs/redux/statuses/{sha}","languages_url":"https://api.github.com/repos/reactjs/redux/languages","stargazers_url":"https://api.github.com/repos/reactjs/redux/stargazers","contributors_url":"https://api.github.com/repos/reactjs/redux/contributors","subscribers_url":"https://api.github.com/repos/reactjs/redux/subscribers","subscription_url":"https://api.github.com/repos/reactjs/redux/subscription","commits_url":"https://api.github.com/repos/reactjs/redux/commits{/sha}","git_commits_url":"https://api.github.com/repos/reactjs/redux/git/commits{/sha}","comments_url":"https://api.github.com/repos/reactjs/redux/comments{/number}","issue_comment_url":"https://api.github.com/repos/reactjs/redux/issues/comments{/number}","contents_url":"https://api.github.com/repos/reactjs/redux/contents/{+path}","compare_url":"https://api.github.com/repos/reactjs/redux/compare/{base}...{head}","merges_url":"https://api.github.com/repos/reactjs/redux/merges","archive_url":"https://api.github.com/repos/reactjs/redux/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/reactjs/redux/downloads","issues_url":"https://api.github.com/repos/reactjs/redux/issues{/number}","pulls_url":"https://api.github.com/repos/reactjs/redux/pulls{/number}","milestones_url":"https://api.github.com/repos/reactjs/redux/milestones{/number}","notifications_url":"https://api.github.com/repos/reactjs/redux/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/reactjs/redux/labels{/name}","releases_url":"https://api.github.com/repos/reactjs/redux/releases{/id}","deployments_url":"https://api.github.com/repos/reactjs/redux/deployments","created_at":"2015-05-29T23:53:15Z","updated_at":"2016-02-19T21:32:34Z","pushed_at":"2016-02-19T20:29:01Z","git_url":"git://github.com/reactjs/redux.git","ssh_url":"git@github.com:reactjs/redux.git","clone_url":"https://github.com/reactjs/redux.git","svn_url":"https://github.com/reactjs/redux","homepage":"http://redux.js.org","size":9153,"stargazers_count":14391,"watchers_count":14391,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":1583,"mirror_url":null,"open_issues_count":47,"forks":1583,"open_issues":47,"watchers":14391,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/reactjs/redux/pulls/1413"},"html":{"href":"https://github.com/reactjs/redux/pull/1413"},"issue":{"href":"https://api.github.com/repos/reactjs/redux/issues/1413"},"comments":{"href":"https://api.github.com/repos/reactjs/redux/issues/1413/comments"},"review_comments":{"href":"https://api.github.com/repos/reactjs/redux/pulls/1413/comments"},"review_comment":{"href":"https://api.github.com/repos/reactjs/redux/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/reactjs/redux/pulls/1413/commits"},"statuses":{"href":"https://api.github.com/repos/reactjs/redux/statuses/16325a227b5148bb6321230e7be273c0e4cfb364"}}}}