From edd15aaa4cbfb9f76e71982a78caadb85700bff2 Mon Sep 17 00:00:00 2001 From: MadCcc <1075746765@qq.com> Date: Wed, 19 Jul 2023 11:01:14 +0800 Subject: [PATCH] type: use ValueType from rc-input-number (#43635) --- components/input-number/index.tsx | 3 +-- package.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/input-number/index.tsx b/components/input-number/index.tsx index c87d7ffdc9..8248310b21 100644 --- a/components/input-number/index.tsx +++ b/components/input-number/index.tsx @@ -2,9 +2,8 @@ import DownOutlined from '@ant-design/icons/DownOutlined'; import UpOutlined from '@ant-design/icons/UpOutlined'; -import type { ValueType } from '@rc-component/mini-decimal'; import classNames from 'classnames'; -import type { InputNumberProps as RcInputNumberProps } from 'rc-input-number'; +import type { InputNumberProps as RcInputNumberProps, ValueType } from 'rc-input-number'; import RcInputNumber from 'rc-input-number'; import * as React from 'react'; import type { InputStatus } from '../_util/statusUtils'; diff --git a/package.json b/package.json index 8dc82641cc..a5d3d65722 100644 --- a/package.json +++ b/package.json @@ -131,7 +131,7 @@ "rc-field-form": "~1.34.0", "rc-image": "~7.0.0", "rc-input": "~1.1.0", - "rc-input-number": "~8.0.0", + "rc-input-number": "~8.0.2", "rc-mentions": "~2.5.0", "rc-menu": "~9.10.0", "rc-motion": "^2.7.3",