UNPKG

mock-violentmonkey

Version:

Mock violentmonkey's globals for testing userscripts

8 lines (7 loc) 265 B
type SetClipboard = (data: string, type?: string) => void; declare const setClipboard: SetClipboard; declare const getClipboard: () => { data: string; type: string; } | undefined; export { setClipboard as GM_setClipboard, getClipboard, type SetClipboard };