Now exporting APIResponse interface

This commit is contained in:
Peter KW 2024-03-17 19:18:03 +01:00
parent b999e47f94
commit 1977125923

View file

@ -7,7 +7,7 @@ import {
} from "../Types/goTypes"; } from "../Types/goTypes";
// This type of pattern should be hard to misuse // This type of pattern should be hard to misuse
interface APIResponse<T> { export interface APIResponse<T> {
success: boolean; success: boolean;
message?: string; message?: string;
data?: T; data?: T;