File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -188,9 +188,11 @@ export type KeyToDeclaration<K extends keyof TypeDocOptionMap> =
188188 : TypeDocOptionMap [ K ] extends string [ ]
189189 ? ArrayDeclarationOption
190190 : unknown extends TypeDocOptionMap [ K ]
191- ? MixedDeclarationOption
191+ ? MixedDeclarationOption | ObjectDeclarationOption
192192 : TypeDocOptionMap [ K ] extends ManuallyValidatedOption < unknown >
193- ? MixedDeclarationOption & { validate ( value : unknown ) : void }
193+ ?
194+ | ( MixedDeclarationOption & { validate ( value : unknown ) : void } )
195+ | ( ObjectDeclarationOption & { validate ( value : unknown ) : void } )
194196 : TypeDocOptionMap [ K ] extends Record < string , boolean >
195197 ? FlagsDeclarationOption < TypeDocOptionMap [ K ] >
196198 : TypeDocOptionMap [ K ] extends Record < string | number , infer U >
You can’t perform that action at this time.
0 commit comments