Skip to content

Issue with @apollo/client 4.0.11Β #543

@rafagsiqueira

Description

@rafagsiqueira

Getting this compilation error:

✘ [ERROR] TS2315: Type 'ApolloCache' is not generic. [plugin angular-compiler]

    node_modules/apollo3-cache-persist/lib/Cache.d.ts:4:11:
      4 β”‚     cache: ApolloCache<T>;
        β•΅            ~~~~~~~~~~~~~~


✘ [ERROR] TS2315: Type 'ApolloCache' is not generic. [plugin angular-compiler]

    node_modules/apollo3-cache-persist/lib/types/index.d.ts:15:11:
      15 β”‚     cache: ApolloCache<TSerialized>;
         β•΅            ~~~~~~~~~~~~~~~~~~~~~~~~


✘ [ERROR] TS2315: Type 'ApolloCache' is not generic. [plugin angular-compiler]

    projects/etips-admin/src/apollo3-cache-persist.d.ts:22:11:
      22 β”‚     cache: ApolloCache<any>;
         β•΅            ~~~~~~~~~~~~~~~~

Using versions:
"@apollo/client": "4.0.11",
"apollo-angular": "13.0.0",
"apollo3-cache-persist": "0.15.0"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions