mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 22:30:01 +00:00
Fixed tests
This commit is contained in:
@@ -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});
|
||||
|
||||
Reference in New Issue
Block a user