{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26728","repository_url":"https://api.github.com/repos/Microsoft/TypeScript","labels_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26728/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26728/comments","events_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26728/events","html_url":"https://github.com/Microsoft/TypeScript/issues/26728","id":355041997,"node_id":"MDU6SXNzdWUzNTUwNDE5OTc=","number":26728,"title":"Missing `Navigator.clipboard` (clipboard asynchronous API)","user":{"login":"modrzew","id":2963462,"node_id":"MDQ6VXNlcjI5NjM0NjI=","avatar_url":"https://avatars3.githubusercontent.com/u/2963462?v=4","gravatar_id":"","url":"https://api.github.com/users/modrzew","html_url":"https://github.com/modrzew","followers_url":"https://api.github.com/users/modrzew/followers","following_url":"https://api.github.com/users/modrzew/following{/other_user}","gists_url":"https://api.github.com/users/modrzew/gists{/gist_id}","starred_url":"https://api.github.com/users/modrzew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/modrzew/subscriptions","organizations_url":"https://api.github.com/users/modrzew/orgs","repos_url":"https://api.github.com/users/modrzew/repos","events_url":"https://api.github.com/users/modrzew/events{/privacy}","received_events_url":"https://api.github.com/users/modrzew/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-29T07:58:45Z","updated_at":"2018-08-29T13:40:32Z","closed_at":null,"author_association":"NONE","body":"<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨\r\n\r\nHalf of all issues filed here are duplicates, answered in the FAQ, or not appropriate for the bug tracker. Even if you think you've found a *bug*, please read the FAQ first, especially the Common \"Bugs\" That Aren't Bugs section!\r\n\r\nPlease help us by doing the following steps before logging an issue:\r\n  * Search: https://github.com/Microsoft/TypeScript/search?type=Issues\r\n  * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ\r\n\r\nPlease fill in the *entire* template below.\r\n-->\r\n\r\n<!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:**  3.0.0-dev.20180711\r\n\r\n<!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:** navigator, clipboard\r\n\r\n**Code**\r\n\r\n```ts\r\nconsole.log(window.navigator.clipboard)\r\n```\r\n\r\n**Expected behavior:** No error.\r\n\r\n**Actual behavior:**\r\n```\r\nerror TS2339: Property 'clipboard' does not exist on type 'Navigator'\r\n```\r\n\r\n**Playground Link:** http://www.typescriptlang.org/play/#src=window.navigator.clipboard%3B\r\n\r\n**Related Issues:** none found\r\n\r\nW3C: https://w3c.github.io/clipboard-apis/#async-clipboard-api\r\nMDN: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard"},"comment":{"url":"https://api.github.com/repos/Microsoft/TypeScript/issues/comments/416957233","html_url":"https://github.com/Microsoft/TypeScript/issues/26728#issuecomment-416957233","issue_url":"https://api.github.com/repos/Microsoft/TypeScript/issues/26728","id":416957233,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNjk1NzIzMw==","user":{"login":"MartinJohns","id":5269069,"node_id":"MDQ6VXNlcjUyNjkwNjk=","avatar_url":"https://avatars1.githubusercontent.com/u/5269069?v=4","gravatar_id":"","url":"https://api.github.com/users/MartinJohns","html_url":"https://github.com/MartinJohns","followers_url":"https://api.github.com/users/MartinJohns/followers","following_url":"https://api.github.com/users/MartinJohns/following{/other_user}","gists_url":"https://api.github.com/users/MartinJohns/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinJohns/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinJohns/subscriptions","organizations_url":"https://api.github.com/users/MartinJohns/orgs","repos_url":"https://api.github.com/users/MartinJohns/repos","events_url":"https://api.github.com/users/MartinJohns/events{/privacy}","received_events_url":"https://api.github.com/users/MartinJohns/received_events","type":"User","site_admin":false},"created_at":"2018-08-29T13:40:32Z","updated_at":"2018-08-29T13:40:32Z","author_association":"NONE","body":"Probably missing because it's still a working draft and no browser supports it yet: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard#Browser_compatibility\r\n\r\nWhy add something to the standard library that is not supported?"}}
{"actor":{"display_login":"MartinJohns"}}