aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/commands
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-01-01 23:39:01 +0000
committerKirill Bulatov <[email protected]>2020-01-15 18:16:27 +0000
commit73dc8b6f06b49f4728a50e83781c361e9a8b3100 (patch)
tree677cb7280fc39b27761bd4afd2e6294aec9d739c /editors/code/src/commands
parent01422cc31d1917aaef4b1f402eda05abfff1e75f (diff)
Another attempt to add multiple edits
Diffstat (limited to 'editors/code/src/commands')
-rw-r--r--editors/code/src/commands/index.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/editors/code/src/commands/index.ts b/editors/code/src/commands/index.ts
index 9a1697dcb..0ff708b1f 100644
--- a/editors/code/src/commands/index.ts
+++ b/editors/code/src/commands/index.ts
@@ -34,8 +34,8 @@ function showReferences(ctx: Ctx): Cmd {
34} 34}
35 35
36function applySourceChange(ctx: Ctx): Cmd { 36function applySourceChange(ctx: Ctx): Cmd {
37 return async (change: sourceChange.SourceChange) => { 37 return async (change: sourceChange.SourceChange, alternativeChanges: sourceChange.SourceChange[] | undefined) => {
38 sourceChange.applySourceChange(ctx, change); 38 sourceChange.applySourceChange(ctx, change, alternativeChanges);
39 }; 39 };
40} 40}
41 41