utils.d.ts 266 B

12345678
  1. export declare function getPrecision(value: number): number;
  2. export declare function getValidNumber(value: any, min: number, max: number, step: number, precision?: number): {
  3. valid: boolean;
  4. value: string;
  5. } | {
  6. valid: boolean;
  7. value?: undefined;
  8. };