From f3c71bcfc1c66fee0effab5d18fc3fe9936e3248 Mon Sep 17 00:00:00 2001 From: xujiangyang Date: Fri, 19 Apr 2024 17:21:20 +0800 Subject: [PATCH 1/2] fix: #5433 add formattedValue type --- components/lib/inputnumber/InputNumber.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/lib/inputnumber/InputNumber.d.ts b/components/lib/inputnumber/InputNumber.d.ts index 8e4fb37db0..5f63b130c0 100755 --- a/components/lib/inputnumber/InputNumber.d.ts +++ b/components/lib/inputnumber/InputNumber.d.ts @@ -71,6 +71,10 @@ export interface InputNumberInputEvent { * New value */ value: string | number | undefined; + /** + * currentValue + */ + formattedValue: string; } /** @@ -86,6 +90,10 @@ export interface InputNumberBlurEvent { * Input value */ value: string; + /** + * currentValue + */ + formattedValue: string; } /** From eb1228749aaab929a39a50d1feca49f4312ef811 Mon Sep 17 00:00:00 2001 From: xujiangyang Date: Fri, 19 Apr 2024 17:54:28 +0800 Subject: [PATCH 2/2] fix: #5433 InputNumberBlurEvent not type formattedValue --- components/lib/inputnumber/InputNumber.d.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/components/lib/inputnumber/InputNumber.d.ts b/components/lib/inputnumber/InputNumber.d.ts index 5f63b130c0..4b2edde7f7 100755 --- a/components/lib/inputnumber/InputNumber.d.ts +++ b/components/lib/inputnumber/InputNumber.d.ts @@ -90,10 +90,6 @@ export interface InputNumberBlurEvent { * Input value */ value: string; - /** - * currentValue - */ - formattedValue: string; } /**