FormData encoder is added
This commit is contained in:
parent
d323168b4f
commit
1f1baf74b0
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user