fix: error in response as optional field
This commit is contained in:
@@ -1,8 +1,8 @@
|
|||||||
import { ResponseError } from "./ResponseError";
|
import { ResponseError } from './ResponseError';
|
||||||
|
|
||||||
export interface Response<T> {
|
export interface Response<T> {
|
||||||
data: T;
|
data: T;
|
||||||
errors: ResponseError[];
|
errors?: ResponseError[];
|
||||||
message: string;
|
message: string;
|
||||||
success: boolean;
|
success: boolean;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user