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";
|
} 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;
|
||||||
|
|
Loading…
Reference in a new issue