diff --git a/libs/src/LSPlugin.ts b/libs/src/LSPlugin.ts index 9207e0938..ecee17442 100644 --- a/libs/src/LSPlugin.ts +++ b/libs/src/LSPlugin.ts @@ -119,8 +119,8 @@ export type IGitResult = { stdout: string; stderr: string; exitCode: number } export type IRequestOptions = { url: string headers: Record - method: 'GET' | 'POST' | 'PUT' | 'DELETE' - data: any + method: 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE' + data: Object | ArrayBuffer timeout: number dataType: 'json' | 'text' | 'base64' | 'arraybuffer' success: (result: R) => void