From e04ff53326a4aff9ed6dc883a31e0b1e23d65e5e Mon Sep 17 00:00:00 2001 From: Damien Churchill Date: Tue, 13 Aug 2024 09:01:48 +0100 Subject: [PATCH] fix(Stepper): include panel value in activateCallback signature This removes the need to add a wrapper function that changes the type of activateCallback to any before calling it. --- packages/primevue/src/steppanel/StepPanel.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/primevue/src/steppanel/StepPanel.d.ts b/packages/primevue/src/steppanel/StepPanel.d.ts index 2a56907b72..2cf8d64127 100644 --- a/packages/primevue/src/steppanel/StepPanel.d.ts +++ b/packages/primevue/src/steppanel/StepPanel.d.ts @@ -117,7 +117,7 @@ export interface StepPanelSlots { /** * Click function. */ - activateCallback: () => void; + activateCallback: (value?: string | number) => void; }): VNode[]; }