<!-- 🚨 STOP 🚨 𝗦𝗧𝗢𝗣 🚨 𝑺𝑻𝑶𝑷 🚨 Half 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! Please help us by doing the following steps before logging an issue: * Search: https://github.com/Microsoft/TypeScript/search?type=Issues * Read the FAQ: https://github.com/Microsoft/TypeScript/wiki/FAQ Please fill in the *entire* template below. --> <!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. --> **TypeScript Version:** 3.0.0-dev.20180711 <!-- Search terms you tried before logging this (so others can find this issue more easily) --> **Search Terms:** navigator, clipboard **Code** ```ts console.log(window.navigator.clipboard) ``` **Expected behavior:** No error. **Actual behavior:** ``` error TS2339: Property 'clipboard' does not exist on type 'Navigator' ``` **Playground Link:** http://www.typescriptlang.org/play/#src=window.navigator.clipboard%3B **Related Issues:** none found W3C: https://www.w3.org/TR/clipboard-apis/#async-clipboard-api MDN: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard
TypeScript Version: 3.0.0-dev.20180711
Search Terms: navigator, clipboard
Code
Expected behavior: No error.
Actual behavior:
Playground Link: http://www.typescriptlang.org/play/#src=window.navigator.clipboard%3B
Related Issues: none found
W3C: https://www.w3.org/TR/clipboard-apis/#async-clipboard-api
MDN: https://developer.mozilla.org/en-US/docs/Web/API/Clipboard