From 2589ca5e801310a65e05e3c0deb7966eeff309a9 Mon Sep 17 00:00:00 2001 From: Branden Rodgers Date: Fri, 14 Jun 2024 09:33:41 -0400 Subject: [PATCH] Remove the meta.charset_guess type --- lib/__tests__/notify.ts | 4 +++- types/FileManager.ts | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/__tests__/notify.ts b/lib/__tests__/notify.ts index 6f5ad5b5..ccb90878 100644 --- a/lib/__tests__/notify.ts +++ b/lib/__tests__/notify.ts @@ -50,7 +50,9 @@ describe('lib/notify', () => { resolve(); }) ); - output = `${output}${new Date(now).toISOString()} ${actionType}: ${filePath}\n`; + output = `${output}${new Date( + now + ).toISOString()} ${actionType}: ${filePath}\n`; } // Advance all of the timers to trigger the debounce diff --git a/types/FileManager.ts b/types/FileManager.ts index 5cca5603..41705377 100644 --- a/types/FileManager.ts +++ b/types/FileManager.ts @@ -13,7 +13,6 @@ export type File = { friendly_url: string; meta: { allows_anonymous_access: boolean; - charset_guess: string; line_count: number; indexable: boolean; };