Skip to content

Commit c34be36

Browse files
[autofix.ci] apply automated fixes
1 parent bd42696 commit c34be36

File tree

1 file changed

+3
-2
lines changed
  • packages/toolkit-react/src/utils/types

1 file changed

+3
-2
lines changed

packages/toolkit-react/src/utils/types/global.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,9 @@ export type InferProps<TComponent extends HTMLElement | React.ElementType> =
1010

1111
export type StateSetter<TSetter = unknown> = React.Dispatch<React.SetStateAction<TSetter>>;
1212

13-
export type MyCustomCss<TExtra extends Record<string, string> = NonNullable<unknown>> =
14-
React.CSSProperties & Record<`--${string}`, string> & TExtra; // Allows Ts support for inline css variables
13+
export type MyCustomCss<TExtra extends Record<string, string> = NonNullable<unknown>> = React.CSSProperties
14+
& Record<`--${string}`, string>
15+
& TExtra; // Allows Ts support for inline css variables
1516

1617
/**
1718
* @description Represents a set of props that can be used to render a component conditionally based on a discriminated union type.

0 commit comments

Comments
 (0)