Move interface to Interfaces. Allow for post/put/patchJson bodies
This commit is contained in:
@@ -47,3 +47,9 @@ export interface IRequestOptions {
|
||||
allowRetries?: boolean;
|
||||
maxRetries?: number;
|
||||
}
|
||||
|
||||
export interface ITypedResponse<T> {
|
||||
statusCode: number,
|
||||
result: T | null,
|
||||
headers: Object
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user