From dfa5b9b73b3da0e49f18485d916cdda50237d520 Mon Sep 17 00:00:00 2001 From: Krisztiaan Date: Thu, 27 Jan 2022 19:45:35 +0100 Subject: [PATCH] chore: less invasive theme type --- src/createTheme.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/createTheme.ts b/src/createTheme.ts index 96fc83e4..6717200d 100644 --- a/src/createTheme.ts +++ b/src/createTheme.ts @@ -1,6 +1,7 @@ -import {BaseTheme} from './types'; +import {KnownBaseTheme} from './types'; // Enforces proper shape for theme without throwing away the user specific values -const createTheme = (themeObject: T): T => themeObject; +const createTheme = (themeObject: T): T => + themeObject; export default createTheme;