UNPKG
@jmfetchify/fetchify
Version:
latest (1.0.8)
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
A lightweight HTTP client library for client and server-side usage.
@jmfetchify/fetchify
/
lib
/
core
/
base-fetch
/
index.d.ts
5 lines
(4 loc)
•
217 B
TypeScript
View Raw
1
2
3
4
5
import { IBaseFetch } from
'../../core/interfaces'
; export declare abstract
class
BaseFetch
{ protected request<T>({ token, baseURL, endpoint,
method
,
options
,
body
,
timeOut
,
headers
}:
IBaseFetch
):
Promise
<
T
>
; }