From 0085a00dca128eba7f68f25d50b9d2348d149d2f Mon Sep 17 00:00:00 2001 From: Ben Ceglowski Date: Thu, 1 Nov 2018 11:42:52 +0000 Subject: [PATCH] Use Exclude rather than NonNullable --- types/aphrodite/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/aphrodite/index.d.ts b/types/aphrodite/index.d.ts index 3b96f46c21..f41aadec46 100644 --- a/types/aphrodite/index.d.ts +++ b/types/aphrodite/index.d.ts @@ -12,7 +12,7 @@ type FontFamily = | BaseCSSProperties['fontFamily'] | CSS.FontFace; -type Omit = Pick; +type Omit = Pick>; type CSSProperties = Omit & { fontFamily?: FontFamily | FontFamily[]; @@ -21,7 +21,7 @@ type CSSProperties = Omit] | CSSProperties; + [k: string]: CSSProperties[keyof CSSProperties] | CSSProperties; } /**