diff options
Diffstat (limited to 'e2e')
-rw-r--r-- | e2e/lib/clipboard.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/e2e/lib/clipboard.ts b/e2e/lib/clipboard.ts index 6cc94cb..46da0b8 100644 --- a/e2e/lib/clipboard.ts +++ b/e2e/lib/clipboard.ts @@ -20,7 +20,7 @@ const readLinux = (): Promise<string> => { }); }; -const writeLinux = (data: string): Promise<string> => { +const writeLinux = (data: string): Promise<void> => { let stderr = ""; return new Promise((resolve) => { const xsel = spawn("xsel", ["--clipboard", "--input"]); @@ -58,7 +58,7 @@ const readDarwin = (): Promise<string> => { }); }; -const writeDarwin = (data: string): Promise<string> => { +const writeDarwin = (data: string): Promise<void> => { let stderr = ""; return new Promise((resolve) => { const pbcopy = spawn("pbcopy"); |