mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
Merge pull request #14233 from kacepe/patch-3
(validator.js) Add missing options to isInt method
This commit is contained in:
Vendored
+5
-2
@@ -1,6 +1,6 @@
|
||||
// Type definitions for validator.js v5.7.0
|
||||
// Type definitions for validator.js v6.2
|
||||
// Project: https://github.com/chriso/validator.js
|
||||
// Definitions by: tgfjt <https://github.com/tgfjt>, Ilya Mochalov <https://github.com/chrootsu>, Ayman Nedjmeddine <https://github.com/IOAyman>, Louy Alakkad <https://github.com/louy>
|
||||
// Definitions by: tgfjt <https://github.com/tgfjt>, Ilya Mochalov <https://github.com/chrootsu>, Ayman Nedjmeddine <https://github.com/IOAyman>, Louy Alakkad <https://github.com/louy>, Kacper Polak <https://github.com/kacepe>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare namespace ValidatorJS {
|
||||
@@ -276,6 +276,9 @@ declare namespace ValidatorJS {
|
||||
interface IsIntOptions {
|
||||
min?: number;
|
||||
max?: number;
|
||||
allow_leading_zeroes?: boolean;
|
||||
lt?: number;
|
||||
gt?: number;
|
||||
}
|
||||
|
||||
// options for IsLength
|
||||
|
||||
Reference in New Issue
Block a user