From 197712592313f7f3af2c62ba0bba236ea73cbabe Mon Sep 17 00:00:00 2001 From: Peter KW Date: Sun, 17 Mar 2024 19:18:03 +0100 Subject: [PATCH] Now exporting APIResponse interface --- frontend/src/API/API.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/API/API.ts b/frontend/src/API/API.ts index bd6518b..6dfbc1e 100644 --- a/frontend/src/API/API.ts +++ b/frontend/src/API/API.ts @@ -7,7 +7,7 @@ import { } from "../Types/goTypes"; // This type of pattern should be hard to misuse -interface APIResponse { +export interface APIResponse { success: boolean; message?: string; data?: T;