Skip to content

Commit 0da9a47

Browse files
committed
refactor: format code with new Prettier version
1 parent 816a058 commit 0da9a47

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

index.d.ts

+4-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export type PolymorphicPropsWithRef<P, T extends React.ElementType> = Merge<
2727

2828
type PolymorphicExoticComponent<
2929
P = {},
30-
T extends React.ElementType = React.ElementType
30+
T extends React.ElementType = React.ElementType,
3131
> = Merge<
3232
React.ExoticComponent<P & { [key: string]: unknown }>,
3333
{
@@ -42,23 +42,23 @@ type PolymorphicExoticComponent<
4242

4343
export type PolymorphicForwardRefExoticComponent<
4444
P,
45-
T extends React.ElementType
45+
T extends React.ElementType,
4646
> = Merge<
4747
React.ForwardRefExoticComponent<P & { [key: string]: unknown }>,
4848
PolymorphicExoticComponent<P, T>
4949
>;
5050

5151
export type PolymorphicMemoExoticComponent<
5252
P,
53-
T extends React.ElementType
53+
T extends React.ElementType,
5454
> = Merge<
5555
React.MemoExoticComponent<React.ComponentType<any>>,
5656
PolymorphicExoticComponent<P, T>
5757
>;
5858

5959
export type PolymorphicLazyExoticComponent<
6060
P,
61-
T extends React.ElementType
61+
T extends React.ElementType,
6262
> = Merge<
6363
React.LazyExoticComponent<React.ComponentType<any>>,
6464
PolymorphicExoticComponent<P, T>

0 commit comments

Comments
 (0)