We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7ce58c commit ce237d4Copy full SHA for ce237d4
.gitignore
@@ -6,3 +6,4 @@ npm-debug.log
6
typings*
7
.sync
8
.vscode
9
+.idea
index.d.ts
@@ -0,0 +1,5 @@
1
+import {GraphQLSchema} from "graphql";
2
+
3
+export function constraintDirective () : (schema: GraphQLSchema) => GraphQLSchema;
4
5
+export const constraintDirectiveTypeDefs: string
package.json
@@ -3,6 +3,7 @@
"version": "2.1.1",
"description": "Validate GraphQL fields",
"main": "index.js",
+ "types": "index.d.ts",
"scripts": {
"test": "standard && nyc --reporter=html --reporter=text --reporter=lcov mocha test/**/*.test.js"
},
0 commit comments