mirror of
https://github.com/microsoft/vscode.git
synced 2026-09-26 09:45:54 +01:00
use thenables for proposed clipboard api, #217
This commit is contained in:
Vendored
+2
-2
@@ -14,8 +14,8 @@ declare module 'vscode' {
|
||||
//#region Joh - clipboard https://github.com/Microsoft/vscode/issues/217
|
||||
|
||||
export interface Clipboard {
|
||||
readText(): Promise<string>;
|
||||
writeText(value: string): Promise<void>;
|
||||
readText(): Thenable<string>;
|
||||
writeText(value: string): Thenable<void>;
|
||||
}
|
||||
|
||||
export namespace env {
|
||||
|
||||
Reference in New Issue
Block a user