From 23fa9fc4a21796e5bb02d2a0d8526c84304cb947 Mon Sep 17 00:00:00 2001 From: Ricardo Casares Date: Thu, 8 Aug 2019 14:49:39 +0200 Subject: [PATCH] fix: export interfaces --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 0535eb16..aaa1652e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,10 +30,10 @@ export interface InitOptions { onRequestResolve?: (span: Span, info: RequestStart) => void; } -interface ExtendedGraphQLResolveInfo extends GraphQLResolveInfo { +export interface ExtendedGraphQLResolveInfo extends GraphQLResolveInfo { span?: Span; } -interface RequestStart { +export interface RequestStart { request: Pick; queryString?: string; parsedQuery?: DocumentNode;