From 7fdcaa77107727c610432d76f1faefbac761816b Mon Sep 17 00:00:00 2001 From: Firede Date: Mon, 27 Mar 2017 17:19:40 +0800 Subject: [PATCH] remove duplicate functions. --- types/graphql/index.d.ts | 2 +- types/graphql/utilities/buildASTSchema.d.ts | 12 ------------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/types/graphql/index.d.ts b/types/graphql/index.d.ts index 43d810de02..b6d02d7026 100644 --- a/types/graphql/index.d.ts +++ b/types/graphql/index.d.ts @@ -1,6 +1,6 @@ // Type definitions for graphql v0.8.2 // Project: https://www.npmjs.com/package/graphql -// Definitions by: TonyYang , Caleb Meredith , Dominic Watson +// Definitions by: TonyYang , Caleb Meredith , Dominic Watson , Firede // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped diff --git a/types/graphql/utilities/buildASTSchema.d.ts b/types/graphql/utilities/buildASTSchema.d.ts index cf782a30ec..94f4e2a47a 100644 --- a/types/graphql/utilities/buildASTSchema.d.ts +++ b/types/graphql/utilities/buildASTSchema.d.ts @@ -26,15 +26,3 @@ export function getDescription(node: { loc?: Location }): string; * document. */ export function buildSchema(source: string | Source): GraphQLSchema; - -/** - * Given an ast node, returns its string description based on a contiguous - * block full-line of comments preceding it. - */ -export function getDescription(node: { loc?: Location }): string; - -/** - * A helper function to build a GraphQLSchema directly from a source - * document. - */ -export function buildSchema(source: string | Source): GraphQLSchema;