Skip to content

Commit 763e0b9

Browse files
committed
Remove obsolete type definition, fixes #14
1 parent 76a68a1 commit 763e0b9

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/QueryComplexity.ts

-6
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,6 @@ import {
3030
GraphQLError
3131
} from 'graphql';
3232

33-
declare module 'graphql/type/definition' {
34-
export interface GraphQLField<TSource, TContext, TArgs = { [argName: string]: any }> {
35-
complexity?: Complexity;
36-
}
37-
}
38-
3933
export type ComplexityEstimatorArgs = {
4034
type: GraphQLCompositeType,
4135
field: GraphQLField<any, any>,

0 commit comments

Comments
 (0)