Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Commit

Permalink
Rename TCache to TSerializedCache to map better to the cache generic
Browse files Browse the repository at this point in the history
  • Loading branch information
Johan Palmfjord committed Aug 7, 2018
1 parent add526c commit b9cdd0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test-utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import { MockedResponse, MockLink } from './test-links';
import { ApolloCache } from 'apollo-cache';
export * from './test-links';

export interface MockedProviderProps<TCache = {}> {
export interface MockedProviderProps<TSerializedCache = {}> {
mocks?: MockedResponse[];
addTypename?: boolean;
defaultOptions?: DefaultOptions;
cache?: ApolloCache<TCache>;
cache?: ApolloCache<TSerializedCache>;
}

export interface MockedProviderState {
Expand Down

0 comments on commit b9cdd0a

Please sign in to comment.