Skip to content

Commit

Permalink
use thenables for proposed clipboard api, #217
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Oct 11, 2018
1 parent ac5b1f9 commit be2ac17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vs/vscode.proposed.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit be2ac17

Please sign in to comment.