We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f60493 commit fe89d2dCopy full SHA for fe89d2d
lib/index.d.ts
@@ -26,7 +26,7 @@ declare namespace Joi {
26
27
type BasicType = boolean | number | string | any[] | object | null;
28
29
- type LanguageMessages = Record<string, string>;
+ type LanguageMessages = Record<string, string | Record<string, string>>;
30
31
type PresenceMode = 'optional' | 'required' | 'forbidden';
32
0 commit comments