Skip to content
Snippets Groups Projects
Unverified Commit 1b2ba09b authored by tamaina's avatar tamaina Committed by GitHub
Browse files

fix: Fix schema key type error #8517 (#8538)

parent f23d5a75
No related branches found
No related tags found
No related merge requests found
......@@ -89,7 +89,7 @@ export interface Schema extends OfSchema {
readonly optional?: boolean;
readonly items?: Schema;
readonly properties?: Obj;
readonly required?: ReadonlyArray<keyof NonNullable<this['properties']>>;
readonly required?: ReadonlyArray<Extract<keyof NonNullable<this['properties']>, string>>;
readonly description?: string;
readonly example?: any;
readonly format?: string;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment