diff --git a/packages/fineui/typescript/core/base.ts b/packages/fineui/typescript/core/base.ts index be506f32c..e347747cf 100644 --- a/packages/fineui/typescript/core/base.ts +++ b/packages/fineui/typescript/core/base.ts @@ -400,6 +400,8 @@ export declare function getDate(...args: (number | string)[]): Date; export declare function getTime(...args: any[]): number; +export declare function clamp(number: number, lower: number, upper: number): number; + /** * 判断一个对象是不是promise * @param obj 对象