This commit is contained in:
MuhammadKhalilzadeh committed 2024-05-11 09:51:18 +03:30
1 parent d1533abc5f
commit 0acfc76176
23 files changed
+1318

No files matched your search

+14
View File
@@ -0,0 +1,14 @@
// Type definitions for copy-to-clipboard 3.0
// Project: https://github.com/sudodoki/copy-to-clipboard
// Definitions by: Denis Carriere <https://github.com/DenisCarriere>, MartynasZilinskas <https://github.com/MartynasZilinskas>
interface Options {
debug?: boolean;
message?: string;
format?: string; // MIME type
onCopy?: (clipboardData: object) => void;
}
declare function copy(text: string, options?: Options): boolean;
declare namespace copy { }
export = copy;