diff --git a/src/api/clipboard.ts b/src/api/clipboard.ts index ab1fbf3..df402cf 100644 --- a/src/api/clipboard.ts +++ b/src/api/clipboard.ts @@ -8,3 +8,7 @@ export function readText(key: string, data: string): Promise { export function writeText(data: string): Promise { return sendMessage('clipboard.writeText', { data }); }; + +export function clear(): Promise { + return sendMessage('clipboard.clear'); +};