source: node_modules/copy-to-clipboard/index.d.ts@ d24f17c

main
Last change on this file since d24f17c was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 477 bytes
Line 
1// Type definitions for copy-to-clipboard 3.0
2// Project: https://github.com/sudodoki/copy-to-clipboard
3// Definitions by: Denis Carriere <https://github.com/DenisCarriere>, MartynasZilinskas <https://github.com/MartynasZilinskas>
4
5interface Options {
6 debug?: boolean;
7 message?: string;
8 format?: string; // MIME type
9 onCopy?: (clipboardData: object) => void;
10}
11
12declare function copy(text: string, options?: Options): boolean;
13declare namespace copy { }
14export = copy;
Note: See TracBrowser for help on using the repository browser.