From f6883ed988c1925d53e7c9ab8e3ffb5c5cd26293 Mon Sep 17 00:00:00 2001 From: Anton Strogonoff Date: Tue, 30 Nov 2021 20:46:03 +0100 Subject: [PATCH] fix: typo in type name --- src/download.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/download.ts b/src/download.ts index fd345eb..e73a73c 100644 --- a/src/download.ts +++ b/src/download.ts @@ -6,7 +6,7 @@ import { bodyToBuffer, isWriteable } from './util'; import { Pointer } from './pointers'; -interface DownloadBlobRequset { +interface DownloadBlobRequest { http: HttpClient; headers?: Record; @@ -38,7 +38,7 @@ function isValidLFSInfoResponseData(val: Record): val is LFSInfoRes * Currently, the authorization header is responsibility of the caller. */ export default async function downloadBlobFromPointer( - { http: { request }, headers = {}, url, auth }: DownloadBlobRequset, + { http: { request }, headers = {}, url, auth }: DownloadBlobRequest, { info, objectPath }: Pointer, ): Promise {