UNPKG
@apollo-orbit/angular
Version:
latest (2.2.1)
2.2.1
2.2.0
2.1.0
2.0.1
2.0.0
1.0.0
A fully-featured GraphQL client for Angular with modular state management.
wassim-k/apollo-orbit
@apollo-orbit/angular
/
fetch
/
index.d.ts
5 lines
(4 loc)
•
268 B
TypeScript
View Raw
1
2
3
4
5
import
{
HttpClient
}
from
'@angular/common/http'
;
import
{
HttpConfig
}
from
'./httpConfig'
;
export
{
HttpConfig
}
from
'./httpConfig'
;
export
declare
const
makeFetch
:
(
httpClient
:
HttpClient
) =>
(
url
:
string
, { method, ...config }:
HttpConfig
) =>
Promise
<
Response
>;