From dec858a910e5f715389cd127bf99720a803c26d2 Mon Sep 17 00:00:00 2001 From: Eugene Date: Tue, 7 Jul 2020 00:46:13 +0500 Subject: [PATCH] chore: use Record type for whitepaper --- src/core/load-theme.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/load-theme.ts b/src/core/load-theme.ts index b6f7869..6b196ac 100644 --- a/src/core/load-theme.ts +++ b/src/core/load-theme.ts @@ -10,7 +10,7 @@ import { throwError } from './utils' type InputTheme = { mappers: string[] sources: string[] - whitepaper: {} + whitepaper: Record platforms: Platforms[] extends?: string } @@ -19,7 +19,7 @@ type OutputTheme = { mappers: string[] // Uses nested array with paths, cuz glob not save orders with using patterns for path. sources: string[][] - whitepaper: {} + whitepaper: Record platforms: Platforms[] }