fix(types): fix tsx ref component instance type (#2486)
This commit is contained in:
parent
092bdcdf58
commit
84d4357f6f
2
packages/runtime-dom/types/jsx.d.ts
vendored
2
packages/runtime-dom/types/jsx.d.ts
vendored
@ -1309,7 +1309,7 @@ type ReservedProps = {
|
||||
ref?:
|
||||
| string
|
||||
| RuntimeCore.Ref
|
||||
| ((ref: Element | RuntimeCore.ComponentInternalInstance | null) => void)
|
||||
| ((ref: Element | RuntimeCore.ComponentPublicInstance | null) => void)
|
||||
}
|
||||
|
||||
type ElementAttrs<T> = T & ReservedProps
|
||||
|
Loading…
Reference in New Issue
Block a user