UNPKG

@apollo/client

Version:

A fully-featured caching GraphQL client.

11 lines (10 loc) 547 B
import type { ApolloCache } from "@apollo/client"; type UnwrapScalarType<TScalarName extends string> = TScalarName extends `[${infer TName extends string}]` ? UnwrapScalarType<TName> : TScalarName & keyof ApolloCache.Scalars; /** * @internal * * @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time. */ export declare function unwrapScalarType<TScalarName extends string>(scalarType: TScalarName): UnwrapScalarType<TScalarName>; export {}; //# sourceMappingURL=unwrapScalarType.d.ts.map