mirror of https://github.com/vuejs/core.git
fix: correct the type of `<details>`'s `onToggle` event handler (#10938)
Fixes #10928
This commit is contained in:
parent
9fead52343
commit
fd18ce70b1
|
@ -406,7 +406,7 @@ export interface DataHTMLAttributes extends HTMLAttributes {
|
|||
|
||||
export interface DetailsHTMLAttributes extends HTMLAttributes {
|
||||
open?: Booleanish
|
||||
onToggle?: Event
|
||||
onToggle?: (payload: ToggleEvent) => void
|
||||
}
|
||||
|
||||
export interface DelHTMLAttributes extends HTMLAttributes {
|
||||
|
|
Loading…
Reference in New Issue