diff --git a/types/graphql-query-complexity/graphql-query-complexity-tests.ts b/types/graphql-query-complexity/graphql-query-complexity-tests.ts index 7fc5696726..29a3913dbf 100644 --- a/types/graphql-query-complexity/graphql-query-complexity-tests.ts +++ b/types/graphql-query-complexity/graphql-query-complexity-tests.ts @@ -1,4 +1,5 @@ import QueryComplexity from "graphql-query-complexity/dist/QueryComplexity"; - +import complexityFunction from "graphql-query-complexity"; const complexity = new QueryComplexity(null as any, null as any); complexity.createError().message; // $ExpectType string +complexityFunction({maximumComplexity: 10});