Now exporting APIResponse interface
This commit is contained in:
parent
b999e47f94
commit
1977125923
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ import {
|
|||
} from "../Types/goTypes";
|
||||
|
||||
// This type of pattern should be hard to misuse
|
||||
interface APIResponse<T> {
|
||||
export interface APIResponse<T> {
|
||||
success: boolean;
|
||||
message?: string;
|
||||
data?: T;
|
||||
|
|
Loading…
Reference in a new issue