Missing Definition On Navigator.ClipBoard #43821
Labels
Bug
A bug in TypeScript
Domain: lib.d.ts
The issue relates to the different libraries shipped with TypeScript
Help Wanted
You can do this
Milestone
lib Update Request
Configuration Check
My compilation target is
ES2015
and my lib isthe default
.Missing / Incorrect Definition
there is no type
ClipboardItem
constructor andread
,write
method onNavigator.Clipboard
It has already been mentioned on a similar issue before.
#26728
Chrome supports
write
method from v66 and alsoClipboardItem
but now current version is v90. I think it is stable enough.How about adding at least
write
method andClipboardItem
without constructor like thismango906@587267c
Sample Code
playground
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/API/Clipboard_API
The text was updated successfully, but these errors were encountered: