We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4da4653 commit b10846fCopy full SHA for b10846f
src/vs/workbench/api/common/extHostInlineChat.ts
@@ -84,7 +84,7 @@ export class ExtHostInteractiveEditor implements ExtHostInlineChatShape {
84
85
return {
86
initialRange: v.initialRange ? typeConvert.Range.from(v.initialRange) : undefined,
87
- initialSelection: v.initialSelection ? typeConvert.Selection.from(v.initialSelection) : undefined,
+ initialSelection: extHostTypes.Selection.isSelection(v.initialSelection) ? typeConvert.Selection.from(v.initialSelection) : undefined,
88
message: v.message,
89
autoSend: v.autoSend,
90
position: v.position ? typeConvert.Position.from(v.position) : undefined,
0 commit comments