replace internal module to namespace

This commit is contained in:
vvakame committed 2016-03-17 02:18:10 +09:00
1 parent 2f47c75835
commit 14fe4313f4
1139 files changed
+179639 -179639

No files matched your search

+2 -2
View File
@@ -3,7 +3,7 @@
// Definitions by: Ken Gorab <https://github.com/kengorab>
// Definitions: https://github.com/borisyankov/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 {