chore: authorization module name changed and backend type and request functions added
This commit is contained in:
5
src/types/fetchPromise.ts
Normal file
5
src/types/fetchPromise.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export type FetchPromise<T = ''> = Promise<FetchResponse<T>>;
|
||||
|
||||
export interface FetchResponse<T> extends Response {
|
||||
json(): Promise<T>;
|
||||
}
|
||||
Reference in New Issue
Block a user