Skip to content

Commit 29762da

Browse files
committed
loosen types
1 parent f62aa24 commit 29762da

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "fuzzy-ui",
3-
"version": "0.0.23",
3+
"version": "0.0.24",
44
"main": "src/index.ts",
55
"scripts": {
66
"dev": "vite",

src/useMountOutside.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export type ComponentFactory = <T extends new (...args: any) => any>(
2222
component: T,
2323
props?: Record<string, unknown> | null,
2424
children?: VNodeChild | Slot | Slots
25-
) => (extraProps?: Record<string, unknown> | null) => InstanceType<T>
25+
) => (extraProps?: any) => InstanceType<T>
2626

2727
type UseMountOutside = <T extends new (...args: any) => any>(
2828
component: T,

0 commit comments

Comments
 (0)