From 1b2ba09be05338b1680d664970ef28b5ea6464a6 Mon Sep 17 00:00:00 2001 From: tamaina Date: Sun, 24 Apr 2022 11:43:15 +0900 Subject: [PATCH] fix: Fix schema key type error #8517 (#8538) --- packages/backend/src/misc/schema.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/backend/src/misc/schema.ts b/packages/backend/src/misc/schema.ts index 5b69812090..9da13d599b 100644 --- a/packages/backend/src/misc/schema.ts +++ b/packages/backend/src/misc/schema.ts @@ -89,7 +89,7 @@ export interface Schema extends OfSchema { readonly optional?: boolean; readonly items?: Schema; readonly properties?: Obj; - readonly required?: ReadonlyArray>; + readonly required?: ReadonlyArray, string>>; readonly description?: string; readonly example?: any; readonly format?: string;