fix: type errors
This commit is contained in:
parent
3c537f51c1
commit
7ee4d8db50
2 changed files with 3 additions and 3 deletions
|
|
@ -64,7 +64,7 @@ export type ToIdeFromWebviewOrCoreProtocol = {
|
|||
getPinnedFiles: [undefined, string[]];
|
||||
showLines: [{ filepath: string; startLine: number; endLine: number }, void];
|
||||
readRangeInFile: [{ filepath: string; range: Range }, string];
|
||||
getDiff: [{ includeUnstaged: boolean }, string];
|
||||
getDiff: [{ includeUnstaged: boolean }, string[]];
|
||||
getWorkspaceConfigs: [undefined, ContinueRcJson[]];
|
||||
getTerminalContents: [undefined, string];
|
||||
getDebugLocals: [{ threadIndex: number }, string];
|
||||
|
|
|
|||
|
|
@ -125,8 +125,8 @@ class FileSystemIde implements IDE {
|
|||
return Promise.resolve([]);
|
||||
}
|
||||
|
||||
getDiff(includeUnstaged: boolean): Promise<string> {
|
||||
return Promise.resolve("");
|
||||
getDiff(includeUnstaged: boolean): Promise<string[]> {
|
||||
return Promise.resolve([]);
|
||||
}
|
||||
|
||||
getClipboardContent(): Promise<{ text: string; copiedAt: string }> {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue