backend: fix type of IEndpointMeta.errors

The errors array is supposed to be readonly.
This commit is contained in:
Norm 2022-10-31 03:35:47 -04:00
parent bd0c06e2d0
commit 5b7a7794ab
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -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;