fix: error in response as optional field

This commit is contained in:
2025-12-18 22:50:17 -03:00
parent 458cf97ba0
commit d321d2e70f

View File

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