FormData encoder is added

This commit is contained in:
병준 박 2019-11-05 13:37:51 +09:00
parent d323168b4f
commit 1f1baf74b0

View File

@ -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;