[joi] fix TS compile error with LanguageOptions

This commit is contained in:
Young Rok Kim
2017-12-05 11:26:23 +09:00
parent 9fb1696ad5
commit ea099f6c3a
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@
export type Types = 'any' | 'alternatives' | 'array' | 'boolean' | 'binary' | 'date' | 'function' | 'lazy' | 'number' | 'object' | 'string';
export type LanguageOptions = string | false | null | {
export type LanguageOptions = string | boolean | null | {
[key: string]: LanguageOptions;
};
+1 -1
View File
@@ -15,7 +15,7 @@
export type Types = 'any' | 'alternatives' | 'array' | 'boolean' | 'binary' | 'date' | 'function' | 'lazy' | 'number' | 'object' | 'string';
export type LanguageOptions = string | false | null | {
export type LanguageOptions = string | boolean | null | {
[key: string]: LanguageOptions;
};