@apollo/client
Version:
A fully-featured caching GraphQL client.
12 lines (11 loc) • 570 B
TypeScript
import type { OptionWithFallback } from "./OptionWithFallback.js";
/**
* @internal
*
* @deprecated This is an internal API and should not be used directly. This can be removed or changed at any time.
*/
export type PartialDataState<Options, DefaultOptions extends {
returnPartialData: boolean;
fetchPolicy?: unknown;
}> = OptionWithFallback<Options, DefaultOptions, "returnPartialData"> extends (false) ? never : OptionWithFallback<Options, DefaultOptions, "fetchPolicy"> extends ("no-cache") ? never : "partial";
//# sourceMappingURL=PartialDataState.d.ts.map