Skip to content

Commit

Permalink
Hopefully this passes
Browse files Browse the repository at this point in the history
  • Loading branch information
peggyrayzis committed Feb 14, 2018
1 parent 0dd2d47 commit d74e612
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/apollo-client-preset/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ import { HttpLink } from 'apollo-link-http';
import { withClientState, ClientStateConfig } from 'apollo-link-state';
import { onError, ErrorLink } from 'apollo-link-error';

import { InMemoryCache, NormalizedCache } from 'apollo-cache-inmemory';
import {
InMemoryCache,
NormalizedCache,
NormalizedCacheObject,
} from 'apollo-cache-inmemory';
import { ApolloCache } from 'apollo-cache';

import gql from 'graphql-tag';
Expand All @@ -28,7 +32,7 @@ export default class DefaultClient<
TCache = NormalizedCache
> extends ApolloClient<TCache> {
constructor(config: PresetConfig) {
const cache: ApolloCache<TCache> = new InMemoryCache();
const cache: ApolloCache<NormalizedCacheObject> = new InMemoryCache();

const stateLink =
config && config.clientState
Expand Down

0 comments on commit d74e612

Please sign in to comment.