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; } /**