5 lines
98 B
TypeScript
5 lines
98 B
TypeScript
export type ActionResponse<T = any> = {
|
|
success: boolean;
|
|
data?: T;
|
|
error?: string;
|
|
}; |