mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-15 06:20:23 +00:00
Merge branch 'master' into rename-repo-url
This commit is contained in:
Vendored
+2
-2
@@ -3,7 +3,7 @@
|
||||
// Definitions by: Ken Gorab <https://github.com/kengorab>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
declare module ValidatorOptions {
|
||||
declare namespace ValidatorOptions {
|
||||
interface IsStringOptions {
|
||||
regex?: RegExp,
|
||||
message?: String
|
||||
@@ -22,7 +22,7 @@ declare module ValidatorOptions {
|
||||
type Options = IsStringOptions | IsNumberOptions | IsDateOptions;
|
||||
}
|
||||
|
||||
declare module Validator {
|
||||
declare namespace Validator {
|
||||
type ValidateFn = (value: any, onError: (message: String, childName: String, childValie: any) => void) => void;
|
||||
|
||||
interface Validatable {
|
||||
|
||||
Reference in New Issue
Block a user