diff --git a/components/panel/Panel.d.ts b/components/panel/Panel.d.ts index 5ebceb1c2..256cbfa16 100755 --- a/components/panel/Panel.d.ts +++ b/components/panel/Panel.d.ts @@ -75,12 +75,12 @@ export interface PanelEmits { * Emitted when the collapsed changes. * @param {boolean} value - New value. */ - 'update:collapsed': (value: boolean) => void; + 'update:collapsed'(value: boolean): void; /** * Callback to invoke when a tab toggle. * @param {PanelToggleEvent} event - Custom toggle event. */ - toggle: (event: PanelToggleEvent) => void; + toggle(event: PanelToggleEvent): void; } /**