forked from FoundKeyGang/FoundKey
backend: fix type of IEndpointMeta.errors
The errors array is supposed to be readonly.
This commit is contained in:
parent
bd0c06e2d0
commit
5b7a7794ab
1 changed files with 1 additions and 1 deletions
|
@ -622,7 +622,7 @@ export interface IEndpointMeta {
|
|||
|
||||
readonly tags?: ReadonlyArray<string>;
|
||||
|
||||
readonly errors?: Array<keyof errors>;
|
||||
readonly errors?: ReadonlyArray<keyof typeof errors>;
|
||||
|
||||
readonly res?: Schema;
|
||||
|
||||
|
|
Loading…
Reference in a new issue