From b9dec5feb798a04bd15e3a24f7607ef7046db9fc Mon Sep 17 00:00:00 2001 From: Brad Cornes Date: Mon, 4 Apr 2022 14:35:33 +0100 Subject: [PATCH] Update `theme.fontSize` types (#8040) --- types/config.d.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/types/config.d.ts b/types/config.d.ts index b033bc319..6df5eb0a7 100644 --- a/types/config.d.ts +++ b/types/config.d.ts @@ -158,18 +158,18 @@ interface ThemeConfig { textIndent: ThemeConfig['spacing'] fontFamily: ResolvableTo> fontSize: ResolvableTo< - | KeyValuePair - | KeyValuePair - | KeyValuePair< - string, - [ + KeyValuePair< + string, + | string + | [fontSize: string, lineHeight: string] + | [ fontSize: string, configuration: Partial<{ lineHeight: string letterSpacing: string }> ] - > + > > fontWeight: ResolvableTo lineHeight: ResolvableTo