Skip to content

Commit d30afc2

Browse files
Update Remix, styling, and other minor packages (#154)
1 parent 01e746a commit d30afc2

File tree

4 files changed

+416
-653
lines changed

4 files changed

+416
-653
lines changed

app/ui/primitives/polymorphic.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,8 @@ type OwnProps<E> = E extends ForwardRefComponent<any, infer P> ? P : {};
1414
/**
1515
* Infers the JSX.IntrinsicElement if E is a ForwardRefExoticComponentWithAs
1616
*/
17-
type IntrinsicElement<E> = E extends ForwardRefComponent<infer I, any>
18-
? I
19-
: never;
17+
type IntrinsicElement<E> =
18+
E extends ForwardRefComponent<infer I, any> ? I : never;
2019

2120
type ForwardRefExoticComponent<E, OwnProps> = React.ForwardRefExoticComponent<
2221
PropsWithAs<E, OwnProps>

0 commit comments

Comments
 (0)