From b32ce033c0cadee53a8f81807f5038ef8f211e98 Mon Sep 17 00:00:00 2001 From: Kamil Kisiela Date: Tue, 21 Mar 2017 11:26:26 +0100 Subject: [PATCH 1/2] Remove the declaration of graphql-tag/bundledPrinter --- package.json | 2 +- typings.d.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/package.json b/package.json index bd48cecb180..49c19a1779d 100644 --- a/package.json +++ b/package.json @@ -49,7 +49,7 @@ "license": "MIT", "dependencies": { "graphql-anywhere": "^3.0.1", - "graphql-tag": "^1.3.1", + "graphql-tag": "^1.3.2", "redux": "^3.4.0", "symbol-observable": "^1.0.2", "whatwg-fetch": "^2.0.0" diff --git a/typings.d.ts b/typings.d.ts index 64246850412..8212c0571ba 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -11,7 +11,3 @@ declare module 'graphql-tag/parser' { options?: ParseOptions ): DocumentNode; } - -declare module 'graphql-tag/bundledPrinter' { - function print(ast: any): string; -} From 57b849cc307aea159712e96e07f557b376eb7a02 Mon Sep 17 00:00:00 2001 From: Jonas Helfer Date: Mon, 27 Mar 2017 16:55:44 -0700 Subject: [PATCH 2/2] Remove extraneous typings declarations --- typings.d.ts | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/typings.d.ts b/typings.d.ts index 1528463dd98..8b137891791 100644 --- a/typings.d.ts +++ b/typings.d.ts @@ -1,18 +1 @@ -/* - - GRAPHQL - -*/ -declare module 'graphql/language/parser' { - import { Source, ParseOptions, DocumentNode } from 'graphql'; - // XXX figure out how to directly export this method - function parse( - source: Source | string, - options?: ParseOptions - ): DocumentNode; -} - -declare module 'graphql/language/printer' { - function print(ast: any): string; -}