Skip to content

Commit

Permalink
fix compile errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jrieken committed Apr 21, 2023
1 parent c120fe5 commit 1942d41
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/vs/workbench/api/common/extHostInteractiveEditor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { CancellationToken } from 'vs/base/common/cancellation';
import { toDisposable } from 'vs/base/common/lifecycle';
import { URI, UriComponents } from 'vs/base/common/uri';
import { ISelection } from 'vs/editor/common/core/selection';
import { IInteractiveEditorSession, IInteractiveEditorRequest, InteractiveEditorResponseFeedbackKind } from 'vs/workbench/contrib/interactiveEditor/common/interactiveEditor';
import { IInteractiveEditorSession, IInteractiveEditorRequest, InteractiveEditorResponseFeedbackKind, InteractiveEditorResponseType } from 'vs/workbench/contrib/interactiveEditor/common/interactiveEditor';
import { IRelaxedExtensionDescription } from 'vs/platform/extensions/common/extensions';
import { ILogService } from 'vs/platform/log/common/log';
import { ExtHostInteractiveEditorShape, IInteractiveEditorResponseDto, IMainContext, MainContext, MainThreadInteractiveEditorShape } from 'vs/workbench/api/common/extHost.protocol';
Expand Down Expand Up @@ -122,7 +122,7 @@ export class ExtHostInteractiveEditor implements ExtHostInteractiveEditorShape {
return {
...stub,
id,
type: 'message',
type: InteractiveEditorResponseType.Message,
message: typeConvert.MarkdownString.from(res.contents),
};
}
Expand All @@ -132,15 +132,15 @@ export class ExtHostInteractiveEditor implements ExtHostInteractiveEditorShape {
return {
...stub,
id,
type: 'bulkEdit',
type: InteractiveEditorResponseType.BulkEdit,
edits: typeConvert.WorkspaceEdit.from(edits),
};

} else if (Array.isArray(edits)) {
return {
...stub,
id,
type: 'editorEdit',
type: InteractiveEditorResponseType.EditorEdit,
edits: edits.map(typeConvert.TextEdit.from),
};
}
Expand Down

0 comments on commit 1942d41

Please sign in to comment.