Skip to content

Commit

Permalink
Also update d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbvz committed May 19, 2022
1 parent a95ece5 commit a43762b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vscode-dts/vscode.proposed.documentPaste.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ declare module 'vscode' {
* In this method, extensions can return a workspace edit that replaces the standard pasting behavior.
*
* @param document Document being pasted into
* @param selection Current selection in the document.
* @param range Currently selected range in the document.
* @param dataTransfer The data transfer associated with the paste.
* @param token A cancellation token.
*
* @return Optional workspace edit that applies the paste. Return undefined to use standard pasting.
*/
provideDocumentPasteEdits(document: TextDocument, range: Range, dataTransfer: DataTransfer, token: CancellationToken): ProviderResult<WorkspaceEdit>;
provideDocumentPasteEdits(document: TextDocument, range: Range, dataTransfer: DataTransfer, token: CancellationToken): ProviderResult<WorkspaceEdit | SnippetTextEdit>;
}

namespace languages {
Expand Down

0 comments on commit a43762b

Please sign in to comment.