// Type definitions for clipboard-js 0.3.1 // Project: https://github.com/lgarron/clipboard.js // Definitions by: Mark Wong Siang Kai // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped declare namespace clipboard { interface IClipboardJsStatic { copy(val: string | Element): Promise; paste(): Promise; } } declare var clipboard: clipboard.IClipboardJsStatic; export = clipboard; export as namespace clipboard;