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
/
core
/
instanceFactory.d.ts
5 lines
(4 loc)
•
255 B
TypeScript
View Raw
1
2
3
4
5
import
{
ApolloClient
}
from
'@apollo/client/core'
;
import
{
Apollo
}
from
'./apollo'
;
import
{
DefaultOptions
}
from
'./types'
;
export
type
ApolloInstanceFactory
=
(
clientId
:
string
,
client
:
ApolloClient
<
any
>,
defaultOptions
?:
DefaultOptions
) =>
Apollo
;