From dc6346fcb61546043a000e3337702e005c9906b9 Mon Sep 17 00:00:00 2001 From: Phil Pluckthun Date: Wed, 10 Feb 2021 15:59:21 +0000 Subject: [PATCH] Fix up PartialIntrospectionSchema type --- exchanges/graphcache/src/ast/schema.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/exchanges/graphcache/src/ast/schema.ts b/exchanges/graphcache/src/ast/schema.ts index de78ef4f5f..2da3b0dfd2 100644 --- a/exchanges/graphcache/src/ast/schema.ts +++ b/exchanges/graphcache/src/ast/schema.ts @@ -34,9 +34,10 @@ export interface SchemaIntrospector { } export interface PartialIntrospectionSchema { - queryType: { name: string; }; - mutationType?: { name: string; }; - subscriptionType?: { name: string; }; + queryType: { name: string; kind?: any; }; + mutationType?: { name: string; kind?: any; }; + subscriptionType?: { name: string; kind?: any; }; + types?: IntrospectionSchema['types']; } export type IntrospectionData =