Skip to content

Commit

Permalink
better types
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Dec 15, 2023
1 parent a4c4aae commit 6f85640
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/utilities/caching/getMemoryInternals.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,10 @@ function _getApolloClientMemoryInternals(this: ApolloClient<any>) {
this["queryManager"].documentTransform
),
},
...this.cache.getMemoryInternals?.(),
...(this.cache.getMemoryInternals?.() as Partial<
ReturnType<typeof _getApolloCacheMemoryInternals>
> &
Partial<ReturnType<typeof _getInMemoryCacheMemoryInternals>>),
},
};
}
Expand Down

0 comments on commit 6f85640

Please sign in to comment.