Skip to content

Commit d747cee

Browse files
committed
Fix CS
1 parent 28a88fe commit d747cee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

packages/@headlessui-react/src/types.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,10 @@ export type PropsOf<TTag extends ReactTag> = TTag extends React.ElementType
1717
type PropsWeControl = 'as' | 'children' | 'refName' | 'className'
1818

1919
// Resolve the props of the component, but ensure to omit certain props that we control
20-
type CleanProps<
21-
TTag extends ReactTag,
22-
TOmitableProps extends PropertyKey = never
23-
> = Omit<PropsOf<TTag>, TOmitableProps | PropsWeControl>
20+
type CleanProps<TTag extends ReactTag, TOmitableProps extends PropertyKey = never> = Omit<
21+
PropsOf<TTag>,
22+
TOmitableProps | PropsWeControl
23+
>
2424

2525
// Add certain props that we control
2626
type OurProps<TTag extends ReactTag, TSlot> = {

0 commit comments

Comments
 (0)