You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wish I could say something like this in my tsconfig.json:
"lib": [ "es2015", "dom", "dom.microsoft"],
and then I could compile my source without error when it looks like this:
letbuffer='the buffer you wish to copy'staticPOS=!!window.clipboardData// if IE11, copy buffer to clipboardif(POS){window.clipboardData.setData('Text',buffer)}// if other browser, copy buffer to clipboardelse{Clipboard._data=buffer;document.execCommand('copy')}
The text was updated successfully, but these errors were encountered:
TypeScript Version: 2.1.5
I wish I could say something like this in my tsconfig.json:
and then I could compile my source without error when it looks like this:
The text was updated successfully, but these errors were encountered: