{"action":"created","comment":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/63288939","id":63288939,"diff_hunk":"@@ -1125,6 +1125,127 @@ declare namespace CodeMirror {\n         severity?: string;\n         to?: Position;\n     }\n+\n+    /**\n+     * A function that calculates either a two-way or three-way merge between different sets of content.\n+     */\n+    function MergeView(element: HTMLElement, options?: MergeViewEditorConfiguration): MergeViewEditor;\n+\n+    /**\n+     * Options available to MergeView.\n+     */\n+    interface MergeViewEditorConfiguration extends EditorConfiguration {","path":"codemirror/codemirror.d.ts","position":13,"original_position":13,"commit_id":"89a3c9180aee2a59adc0a79a1e823d52882400b6","original_commit_id":"89a3c9180aee2a59adc0a79a1e823d52882400b6","user":{"login":"mihailik","id":4041967,"avatar_url":"https://avatars.githubusercontent.com/u/4041967?v=3","gravatar_id":"","url":"https://api.github.com/users/mihailik","html_url":"https://github.com/mihailik","followers_url":"https://api.github.com/users/mihailik/followers","following_url":"https://api.github.com/users/mihailik/following{/other_user}","gists_url":"https://api.github.com/users/mihailik/gists{/gist_id}","starred_url":"https://api.github.com/users/mihailik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mihailik/subscriptions","organizations_url":"https://api.github.com/users/mihailik/orgs","repos_url":"https://api.github.com/users/mihailik/repos","events_url":"https://api.github.com/users/mihailik/events{/privacy}","received_events_url":"https://api.github.com/users/mihailik/received_events","type":"User","site_admin":false},"body":"Can we put interfaces below into `namespace MergeView`?\r\n\r\nThis adds quite a lot of minute noisy names into the existing namespace.","created_at":"2016-05-15T09:29:44Z","updated_at":"2016-05-15T09:29:44Z","html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9344#discussion_r63288939","pull_request_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344","_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments/63288939"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9344#discussion_r63288939"},"pull_request":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344"}}},"pull_request":{"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344","id":70102290,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9344","diff_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9344.diff","patch_url":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9344.patch","issue_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9344","number":9344,"state":"open","locked":false,"title":"Add MergeView typings to CodeMirror","user":{"login":"styu","id":1143755,"avatar_url":"https://avatars.githubusercontent.com/u/1143755?v=3","gravatar_id":"","url":"https://api.github.com/users/styu","html_url":"https://github.com/styu","followers_url":"https://api.github.com/users/styu/followers","following_url":"https://api.github.com/users/styu/following{/other_user}","gists_url":"https://api.github.com/users/styu/gists{/gist_id}","starred_url":"https://api.github.com/users/styu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styu/subscriptions","organizations_url":"https://api.github.com/users/styu/orgs","repos_url":"https://api.github.com/users/styu/repos","events_url":"https://api.github.com/users/styu/events{/privacy}","received_events_url":"https://api.github.com/users/styu/received_events","type":"User","site_admin":false},"body":"I'd like to add typings for the MergeView addon in CodeMirror.\r\n\r\nAddon documentation:\r\nhttps://codemirror.net/doc/manual.html#addon_merge\r\n\r\nAs well as source:\r\nhttps://github.com/codemirror/CodeMirror/blob/master/addon/merge/merge.js","created_at":"2016-05-14T19:55:00Z","updated_at":"2016-05-15T09:29:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ccf5ff0b012cac857ffb2dea0718b534c7c28f75","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344/commits","review_comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344/comments","review_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9344/comments","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/89a3c9180aee2a59adc0a79a1e823d52882400b6","head":{"label":"styu:master","ref":"master","sha":"89a3c9180aee2a59adc0a79a1e823d52882400b6","user":{"login":"styu","id":1143755,"avatar_url":"https://avatars.githubusercontent.com/u/1143755?v=3","gravatar_id":"","url":"https://api.github.com/users/styu","html_url":"https://github.com/styu","followers_url":"https://api.github.com/users/styu/followers","following_url":"https://api.github.com/users/styu/following{/other_user}","gists_url":"https://api.github.com/users/styu/gists{/gist_id}","starred_url":"https://api.github.com/users/styu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styu/subscriptions","organizations_url":"https://api.github.com/users/styu/orgs","repos_url":"https://api.github.com/users/styu/repos","events_url":"https://api.github.com/users/styu/events{/privacy}","received_events_url":"https://api.github.com/users/styu/received_events","type":"User","site_admin":false},"repo":{"id":43760218,"name":"DefinitelyTyped","full_name":"styu/DefinitelyTyped","owner":{"login":"styu","id":1143755,"avatar_url":"https://avatars.githubusercontent.com/u/1143755?v=3","gravatar_id":"","url":"https://api.github.com/users/styu","html_url":"https://github.com/styu","followers_url":"https://api.github.com/users/styu/followers","following_url":"https://api.github.com/users/styu/following{/other_user}","gists_url":"https://api.github.com/users/styu/gists{/gist_id}","starred_url":"https://api.github.com/users/styu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/styu/subscriptions","organizations_url":"https://api.github.com/users/styu/orgs","repos_url":"https://api.github.com/users/styu/repos","events_url":"https://api.github.com/users/styu/events{/privacy}","received_events_url":"https://api.github.com/users/styu/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/styu/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":true,"url":"https://api.github.com/repos/styu/DefinitelyTyped","forks_url":"https://api.github.com/repos/styu/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/styu/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/styu/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/styu/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/styu/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/styu/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/styu/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/styu/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/styu/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/styu/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/styu/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/styu/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/styu/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/styu/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/styu/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/styu/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/styu/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/styu/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/styu/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/styu/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/styu/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/styu/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/styu/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/styu/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/styu/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/styu/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/styu/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/styu/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/styu/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/styu/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/styu/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/styu/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/styu/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/styu/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/styu/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/styu/DefinitelyTyped/deployments","created_at":"2015-10-06T15:39:47Z","updated_at":"2016-03-10T20:13:41Z","pushed_at":"2016-05-14T19:51:34Z","git_url":"git://github.com/styu/DefinitelyTyped.git","ssh_url":"git@github.com:styu/DefinitelyTyped.git","clone_url":"https://github.com/styu/DefinitelyTyped.git","svn_url":"https://github.com/styu/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":103103,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"DefinitelyTyped:master","ref":"master","sha":"398bd742115e2b071ab3edf8b543b6df6fa62dc2","user":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"repo":{"id":6093316,"name":"DefinitelyTyped","full_name":"DefinitelyTyped/DefinitelyTyped","owner":{"login":"DefinitelyTyped","id":3637556,"avatar_url":"https://avatars.githubusercontent.com/u/3637556?v=3","gravatar_id":"","url":"https://api.github.com/users/DefinitelyTyped","html_url":"https://github.com/DefinitelyTyped","followers_url":"https://api.github.com/users/DefinitelyTyped/followers","following_url":"https://api.github.com/users/DefinitelyTyped/following{/other_user}","gists_url":"https://api.github.com/users/DefinitelyTyped/gists{/gist_id}","starred_url":"https://api.github.com/users/DefinitelyTyped/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DefinitelyTyped/subscriptions","organizations_url":"https://api.github.com/users/DefinitelyTyped/orgs","repos_url":"https://api.github.com/users/DefinitelyTyped/repos","events_url":"https://api.github.com/users/DefinitelyTyped/events{/privacy}","received_events_url":"https://api.github.com/users/DefinitelyTyped/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","description":"The repository for high quality TypeScript type definitions.","fork":false,"url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped","forks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/forks","keys_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/teams","hooks_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/hooks","issue_events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/events{/number}","events_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/events","assignees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/assignees{/user}","branches_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/branches{/branch}","tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/tags","blobs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/refs{/sha}","trees_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/{sha}","languages_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/languages","stargazers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/stargazers","contributors_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contributors","subscribers_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscribers","subscription_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/subscription","commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/commits{/sha}","git_commits_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/git/commits{/sha}","comments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/comments{/number}","issue_comment_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/comments{/number}","contents_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/contents/{+path}","compare_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/merges","archive_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/downloads","issues_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues{/number}","pulls_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls{/number}","milestones_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/milestones{/number}","notifications_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/labels{/name}","releases_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/releases{/id}","deployments_url":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/deployments","created_at":"2012-10-05T16:39:45Z","updated_at":"2016-05-15T09:05:08Z","pushed_at":"2016-05-15T02:31:13Z","git_url":"git://github.com/DefinitelyTyped/DefinitelyTyped.git","ssh_url":"git@github.com:DefinitelyTyped/DefinitelyTyped.git","clone_url":"https://github.com/DefinitelyTyped/DefinitelyTyped.git","svn_url":"https://github.com/DefinitelyTyped/DefinitelyTyped","homepage":"http://definitelytyped.org/","size":143111,"stargazers_count":7064,"watchers_count":7064,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5105,"mirror_url":null,"open_issues_count":1217,"forks":5105,"open_issues":1217,"watchers":7064,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344"},"html":{"href":"https://github.com/DefinitelyTyped/DefinitelyTyped/pull/9344"},"issue":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9344"},"comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/issues/9344/comments"},"review_comments":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344/comments"},"review_comment":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/pulls/9344/commits"},"statuses":{"href":"https://api.github.com/repos/DefinitelyTyped/DefinitelyTyped/statuses/89a3c9180aee2a59adc0a79a1e823d52882400b6"}}}}