From 347f30330d2804483866c9b45c4b25db55c4874b Mon Sep 17 00:00:00 2001 From: ShuZhong Date: Wed, 1 Dec 2021 21:28:22 +0800 Subject: [PATCH] Opti: Add precise type definitions --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index 287a22e..203b96e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -5,7 +5,7 @@ interface Options { debug?: boolean; message?: string; - format?: string; // MIME type + format?: 'text/html' | 'text/plain'; // MIME type onCopy?: (clipboardData: object) => void; }