in project angular ionic When calling library @apoollo/client/link/context I got this Error
Error: node_modules/@apollo/client/react/context/ApolloConsumer.d.ts:1:24 - error TS2307: Cannot find module 'react' or its corresponding type declarations. [ng] [ng] 1 import * as React from 'react';To Reproduce
Steps to reproduce the behavior:
Describe the bug
in project angular ionic When calling library
@apoollo/client/link/context
I got this ErrorError: node_modules/@apollo/client/react/context/ApolloConsumer.d.ts:1:24 - error TS2307: Cannot find module 'react' or its corresponding type declarations. [ng] [ng] 1 import * as React from 'react';
To Reproduce Steps to reproduce the behavior:Expected behavior
Environment:
Additional context