mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Fixed tests
This commit is contained in:
parent
252159b951
commit
5a3b76f927
@ -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});
|
||||
|
||||
Loading…
Reference in New Issue
Block a user