FormData encoder is added
This commit is contained in:
@@ -20,4 +20,6 @@ export type APIEncoder<REQ> = (
|
|||||||
[param: string]: string | string[];
|
[param: string]: string | string[];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export type APIFormDataEncoder<REQ> = (req: REQ) => FormData;
|
||||||
|
|
||||||
export type APIDecoder<RES> = (res: any) => RES;
|
export type APIDecoder<RES> = (res: any) => RES;
|
||||||
|
|||||||
Reference in New Issue
Block a user