add firefox extension template

This commit is contained in:
2025-08-07 16:03:16 -05:00
parent 6cbb29fed1
commit 5df289ffcb
586 changed files with 13636 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
package webextension_polyfill.clipboard;
/**
The type of imageData.
**/
typedef SetImageDataImageTypeEnum = String;

View File

@@ -0,0 +1,9 @@
package webextension_polyfill.clipboard;
typedef Static = {
/**
Copy an image to the clipboard. The image is re-encoded before it is written to the clipboard. If the image is invalid,
the clipboard is not modified.
**/
function setImageData(imageData:js.lib.ArrayBuffer, imageType:SetImageDataImageTypeEnum):js.lib.Promise<ts.Undefined>;
};