Merge pull request #14233 from kacepe/patch-3

(validator.js) Add missing options to isInt method
This commit is contained in:
Bowden Kelly
2017-02-03 19:19:12 -08:00
committed by GitHub
+5 -2
View File
@@ -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