From ea9ef8624cc8fe7f95913567f7ccaccc73e3c4b8 Mon Sep 17 00:00:00 2001 From: grafixeyehero Date: Thu, 26 Oct 2023 02:20:02 +0300 Subject: [PATCH] use Record types --- src/types/libraryTabContent.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/types/libraryTabContent.ts b/src/types/libraryTabContent.ts index 79bff924e..f06896fdb 100644 --- a/src/types/libraryTabContent.ts +++ b/src/types/libraryTabContent.ts @@ -24,6 +24,4 @@ export interface LibraryTabContent { noItemsMessage?: string; } -export interface LibraryTabMapping { - [index: number]: LibraryTabContent; -} +export type LibraryTabMapping = Record;