-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
ERROR in src/app/core/graphql/graphql.module.ts:49:28 - error TS2322: Type 'ApolloNetworkStatus' is not assignable to type 'ApolloLink | RequestHandler'.
Property 'setOnError' is missing in type 'ApolloNetworkStatus' but required in type 'ApolloLink'.
49 link: ApolloLink.from([networkStatus, link]),
~~~~~~~~~~~~~
node_modules/@apollo/client/link/core/ApolloLink.d.ts:15:5
15 setOnError(fn: (reason: any) => any): this;
~~~~~~~~~~
'setOnError' is declared here.
ERROR in src/app/core/graphql/graphql.module.ts:49:28 - error TS2322: Type 'ApolloNetworkStatus' is not assignable to type 'ApolloLink | RequestHandler'.
Property 'setOnError' is missing in type 'ApolloNetworkStatus' but required in type 'ApolloLink'.
49 link: ApolloLink.from([networkStatus, link]),
~~~~~~~~~~~~~
node_modules/@apollo/client/link/core/ApolloLink.d.ts:15:5
15 setOnError(fn: (reason: any) => any): this;
~~~~~~~~~~
'setOnError' is declared here.
Versions:
- "apollo-angular": "^2.0.3",
- "apollo-angular-link-network-status": "^1.0.4",
Metadata
Metadata
Assignees
Labels
No labels