diff --git a/packages/react/src/StyledProvider.tsx b/packages/react/src/StyledProvider.tsx index e65697ac..3006403c 100644 --- a/packages/react/src/StyledProvider.tsx +++ b/packages/react/src/StyledProvider.tsx @@ -43,7 +43,7 @@ export const StyledProvider: React.FC<{ colorMode?: COLORMODES; children?: React.ReactNode; globalStyles?: any; - _experimentalNestedProvider: boolean; + _experimentalNestedProvider?: boolean; }> = ({ config, colorMode, diff --git a/packages/react/src/types.ts b/packages/react/src/types.ts index 5b80e98f..daf8e4b9 100644 --- a/packages/react/src/types.ts +++ b/packages/react/src/types.ts @@ -888,14 +888,12 @@ export type ExtendRNStyle = GenericComponentStyles[key]; type WithSizeNegativeValue = keyof Tokens extends 'sizes' - ? WithNegativeValue< - //@ts-expect-error - | StringifyToken + ? //@ts-expect-error + | StringifyToken //@ts-expect-error | StringifyToken - > : //@ts-expect-error - WithNegativeValue>; + StringifyToken; export type TokenizedRNStyleProps< GenericComponentStyles,