{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/6907","repository_url":"https://api.github.com/repos/Microsoft/vscode","labels_url":"https://api.github.com/repos/Microsoft/vscode/issues/6907/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/vscode/issues/6907/comments","events_url":"https://api.github.com/repos/Microsoft/vscode/issues/6907/events","html_url":"https://github.com/Microsoft/vscode/issues/6907","id":156923581,"number":6907,"title":"Use non-nullable types in vscode.d.ts","user":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"labels":[{"id":290465400,"url":"https://api.github.com/repos/Microsoft/vscode/labels/api","name":"api","color":"1d76db","default":false},{"id":296418715,"url":"https://api.github.com/repos/Microsoft/vscode/labels/debt","name":"debt","color":"bfe5bf","default":false},{"id":272689392,"url":"https://api.github.com/repos/Microsoft/vscode/labels/feature-request","name":"feature-request","color":"bfe5bf","default":false}],"state":"open","locked":false,"assignee":{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false},"assignees":[{"login":"jrieken","id":1794099,"avatar_url":"https://avatars.githubusercontent.com/u/1794099?v=3","gravatar_id":"","url":"https://api.github.com/users/jrieken","html_url":"https://github.com/jrieken","followers_url":"https://api.github.com/users/jrieken/followers","following_url":"https://api.github.com/users/jrieken/following{/other_user}","gists_url":"https://api.github.com/users/jrieken/gists{/gist_id}","starred_url":"https://api.github.com/users/jrieken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrieken/subscriptions","organizations_url":"https://api.github.com/users/jrieken/orgs","repos_url":"https://api.github.com/users/jrieken/repos","events_url":"https://api.github.com/users/jrieken/events{/privacy}","received_events_url":"https://api.github.com/users/jrieken/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/Microsoft/vscode/milestones/30","html_url":"https://github.com/Microsoft/vscode/milestones/November%202016","labels_url":"https://api.github.com/repos/Microsoft/vscode/milestones/30/labels","id":2029906,"number":30,"title":"November 2016","description":"","creator":{"login":"dbaeumer","id":1931590,"avatar_url":"https://avatars.githubusercontent.com/u/1931590?v=3","gravatar_id":"","url":"https://api.github.com/users/dbaeumer","html_url":"https://github.com/dbaeumer","followers_url":"https://api.github.com/users/dbaeumer/followers","following_url":"https://api.github.com/users/dbaeumer/following{/other_user}","gists_url":"https://api.github.com/users/dbaeumer/gists{/gist_id}","starred_url":"https://api.github.com/users/dbaeumer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbaeumer/subscriptions","organizations_url":"https://api.github.com/users/dbaeumer/orgs","repos_url":"https://api.github.com/users/dbaeumer/repos","events_url":"https://api.github.com/users/dbaeumer/events{/privacy}","received_events_url":"https://api.github.com/users/dbaeumer/received_events","type":"User","site_admin":false},"open_issues":185,"closed_issues":322,"state":"open","created_at":"2016-09-26T20:19:36Z","updated_at":"2016-11-23T15:03:11Z","due_on":"2016-11-30T00:00:00Z","closed_at":null},"comments":16,"created_at":"2016-05-26T07:43:19Z","updated_at":"2016-11-23T15:16:31Z","closed_at":null,"body":"TypeScript will introduce support for strict null check and explicit handling of `null` and `undefined` - https://github.com/Microsoft/TypeScript/pull/7140. This is a great opportunity for us to make the API more explicit and hopefully a chance to prevent programming errors. Parts of the API can move from _jsdoc_ comments into type annotations. For instance, the active editor is declared like this today:\n\n```\n/**\n * The currently active editor or `undefined`. ...\n */\nexport let activeTextEditor: TextEditor;\n```\n\nand we can move _jsdoc type info_ back into code like so\n\n```\n/**\n * The currently...\n */\nexport let activeTextEditor: TextEditor | undefined;\n```\n"},"comment":{"url":"https://api.github.com/repos/Microsoft/vscode/issues/comments/262542381","html_url":"https://github.com/Microsoft/vscode/issues/6907#issuecomment-262542381","issue_url":"https://api.github.com/repos/Microsoft/vscode/issues/6907","id":262542381,"user":{"login":"weinand","id":1898161,"avatar_url":"https://avatars.githubusercontent.com/u/1898161?v=3","gravatar_id":"","url":"https://api.github.com/users/weinand","html_url":"https://github.com/weinand","followers_url":"https://api.github.com/users/weinand/followers","following_url":"https://api.github.com/users/weinand/following{/other_user}","gists_url":"https://api.github.com/users/weinand/gists{/gist_id}","starred_url":"https://api.github.com/users/weinand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/weinand/subscriptions","organizations_url":"https://api.github.com/users/weinand/orgs","repos_url":"https://api.github.com/users/weinand/repos","events_url":"https://api.github.com/users/weinand/events{/privacy}","received_events_url":"https://api.github.com/users/weinand/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T15:16:31Z","updated_at":"2016-11-23T15:16:31Z","body":"@jrieken done. That was easy.\r\nBut I have to set `\"strictNullChecks\": true`in my tsconfig.json so that the compiler actually checks for this."}}
{"actor":{"display_login":"weinand"}}