Skip to content

Commit

Permalink
fix(types): fix tsx ref component instance type (#2486)
Browse files Browse the repository at this point in the history
  • Loading branch information
zhoudewei2526 authored Aug 16, 2021
1 parent 092bdcd commit 84d4357
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-dom/types/jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 84d4357

Please sign in to comment.