Closed namcancode closed 5 years ago
Same issue here in React. I downgraded and locked apollo-boost
to 0.1.23
and apollo-cache-inmemory
to ~1.3.0
.
Same issue here in React. I downgraded and locked
apollo-boost
to0.1.23
andapollo-cache-inmemory
to~1.3.0
.
install ver 1.3.12 and i dont have any issue
The TypeScript compiler is apparently not picking up the apollo-cache-inmemory/src/declarations.d.ts
file that was introduced in PR #4158, which has the following contents:
declare module 'optimism' {
export function wrap<T>(
originalFunction: T,
options?: OptimisticWrapOptions,
): OptimisticWrapperFunction<T>;
}
I'll look into it.
Please try npm install apollo-cache-inmemory@1.4.1
, and feel free to comment here with your results, or reopen this issue if you still have the same problem.
Thanks for the quick response @benjamn! It works now.
i have issue run dev with apollo-cache-inmemory version: "apollo-cache-inmemory": "^1.4.0"
Im using Vue js with typescripts file tsconfig.json
file package.json