Skip to content

Commit

Permalink
chore: upgrade biome to 1.9.4
Browse files Browse the repository at this point in the history
  • Loading branch information
unvalley committed Oct 18, 2024
1 parent efe9fb1 commit 30c47db
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 39 deletions.
9 changes: 7 additions & 2 deletions compat/src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -753,11 +753,16 @@ declare namespace React {
| MutableRefObject<T | null>
| null;

export type ElementType<P = any, Tag extends keyof JSX.IntrinsicElements = keyof JSX.IntrinsicElements> =
export type ElementType<
P = any,
Tag extends keyof JSX.IntrinsicElements = keyof JSX.IntrinsicElements
> =
| { [K in Tag]: P extends JSX.IntrinsicElements[K] ? K : never }[Tag]
| ComponentType<P>;

export type ComponentPropsWithoutRef<T extends ElementType> = PropsWithoutRef<ComponentProps<T>>;
export type ComponentPropsWithoutRef<T extends ElementType> = PropsWithoutRef<
ComponentProps<T>
>;

export type ComponentPropsWithRef<
C extends ComponentType<any> | keyof JSXInternal.IntrinsicElements
Expand Down
72 changes: 36 additions & 36 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@
"@babel/plugin-transform-react-jsx-source": "^7.24.0",
"@babel/preset-env": "^7.24.0",
"@babel/register": "^7.24.0",
"@biomejs/biome": "1.8.3",
"@biomejs/biome": "^1.9.4",
"@types/chai": "^4.1.2",
"@types/mocha": "^5.0.0",
"@types/node": "^14.14.10",
Expand Down

0 comments on commit 30c47db

Please sign in to comment.