Skip to content

Commit

Permalink
Adresses #211878 (#212677)
Browse files Browse the repository at this point in the history
  • Loading branch information
hediet committed May 14, 2024
1 parent 5dd248f commit b2e6cd0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ async function mergeEditorCompare(viewModel: MergeEditorViewModel, editorService
},
revealIfOpened: true,
revealIfVisible: true,
} as ITextEditorOptions
} satisfies ITextEditorOptions
});
}

Expand Down
2 changes: 1 addition & 1 deletion src/vs/workbench/contrib/mergeEditor/browser/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function setFields<T extends {}>(obj: T, fields: Partial<T>): T {
}

export function deepMerge<T extends {}>(source1: T, source2: Partial<T>): T {
const result = {} as T;
const result = {} as any as T;
for (const key in source1) {
result[key] = source1[key];
}
Expand Down

0 comments on commit b2e6cd0

Please sign in to comment.