diff --git a/types/graphql-query-complexity/dist/index.d.ts b/types/graphql-query-complexity/dist/index.d.ts index 5ceb3a70ea..082f70cc11 100644 --- a/types/graphql-query-complexity/dist/index.d.ts +++ b/types/graphql-query-complexity/dist/index.d.ts @@ -1,2 +1,4 @@ import { QueryComplexityOptions } from './QueryComplexity'; export default function createQueryComplexityValidator(options: QueryComplexityOptions): () => void; +export type ComplexityResolver = (args: any, complexity: number) => number; +export type Complexity = number | ComplexityResolver;