UNPKG

@happy-ts/fetch-t

Version:

Abortable fetch wrapper with the ability to specify the return type.

18 lines (10 loc) 421 B
[**@happy-ts/fetch-t**](../README.md) • **Docs** *** [@happy-ts/fetch-t](../README.md) / FetchResponseType # Type Alias: FetchResponseType ```ts type FetchResponseType: "text" | "arraybuffer" | "blob" | "json"; ``` Specifies the expected response type of the fetch request. ## Defined in [defines.ts:38](https://github.com/JiangJie/fetch-t/blob/61346c95bab5342bcbd9e97bca747ef24af2eac6/src/fetch/defines.ts#L38)