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> {
|
||||
data: T;
|
||||
errors: ResponseError[];
|
||||
message: string;
|
||||
success: boolean;
|
||||
}
|
||||
data: T;
|
||||
errors?: ResponseError[];
|
||||
message: string;
|
||||
success: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user