Copy/Paste implementation

Summary: ^

Reviewed By: aigoncharov

Differential Revision: D46515194

fbshipit-source-id: 0ee6931569d5248d5643b391683e230e0c095e41
This commit is contained in:
Lorenzo Blasa
2023-06-07 06:04:46 -07:00
committed by Facebook GitHub Bot
parent b9322247e6
commit 2815ba0fb8
5 changed files with 10 additions and 16 deletions

View File

@@ -95,7 +95,7 @@ type ChildProcessEvents = {
* Utilities provided by the render host, e.g. Electron, the Browser, etc
*/
export interface RenderHost {
readTextFromClipboard(): string | undefined;
readTextFromClipboard(): Promise<string> | undefined;
writeTextToClipboard(text: string): void;
/**
* @deprecated