index.d.ts 218 B

12345678
  1. interface Options {
  2. debug?: boolean;
  3. message?: string;
  4. format?: string;
  5. onCopy?: (clipboardData: object) => void;
  6. }
  7. declare function copy(text: string, options?: Options): boolean;
  8. export default copy;