Skip to content

Commit dacd0ca

Browse files
committed
ghost: fix a type
1 parent dfbcfe0 commit dacd0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/extension/completions-core/vscode-node/extension/src/inlineCompletion.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ export class CopilotInlineCompletionItemProvider extends Disposable implements I
154154

155155
handleDidPartiallyAcceptCompletionItem(
156156
item: GhostTextCompletionItem,
157-
acceptedLengthOrInfo: number & PartialAcceptInfo
157+
acceptedLengthOrInfo: number | PartialAcceptInfo
158158
) {
159159
try {
160160
return this.ghostTextProvider.handleDidPartiallyAcceptCompletionItem(item, acceptedLengthOrInfo);

0 commit comments

Comments
 (0)