Move interface to Interfaces. Allow for post/put/patchJson bodies

This commit is contained in:
David Kale
2020-02-03 17:25:08 -05:00
parent 2d459b5b9c
commit 3f47963203
4 changed files with 20 additions and 19 deletions

View File

@@ -47,3 +47,9 @@ export interface IRequestOptions {
allowRetries?: boolean;
maxRetries?: number;
}
export interface ITypedResponse<T> {
statusCode: number,
result: T | null,
headers: Object
}