mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
[joi] fix TS compile error with LanguageOptions
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Vendored
+1
-1
@@ -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;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user