Skip to content

Commit b25f6bf

Browse files
authored
Allow editing properties on DocumentPasteEdit (microsoft#160469)
This aligns the api with `DocumentDropEdit`
1 parent aad6ffd commit b25f6bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vscode-dts/vscode.proposed.documentPaste.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,12 +47,12 @@ declare module 'vscode' {
4747
/**
4848
* The text or snippet to insert at the pasted locations.
4949
*/
50-
readonly insertText: string | SnippetString;
50+
insertText: string | SnippetString;
5151

5252
/**
5353
* An optional additional edit to apply on paste.
5454
*/
55-
readonly additionalEdit?: WorkspaceEdit;
55+
additionalEdit?: WorkspaceEdit;
5656

5757
/**
5858
* @param insertText The text or snippet to insert at the pasted locations.

0 commit comments

Comments
 (0)