Skip to content

Commit 84d4357

Browse files
fix(types): fix tsx ref component instance type (#2486)
1 parent 092bdcd commit 84d4357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: packages/runtime-dom/types/jsx.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1309,7 +1309,7 @@ type ReservedProps = {
13091309
ref?:
13101310
| string
13111311
| RuntimeCore.Ref
1312-
| ((ref: Element | RuntimeCore.ComponentInternalInstance | null) => void)
1312+
| ((ref: Element | RuntimeCore.ComponentPublicInstance | null) => void)
13131313
}
13141314

13151315
type ElementAttrs<T> = T & ReservedProps

0 commit comments

Comments
 (0)