Skip to content

Commit ad31645

Browse files
authored
fix(apollov4): add export from readme docs (#149)
constraintDirectiveTypeDefsGql
1 parent 0ca756b commit ad31645

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apollo4.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
import {GraphQLSchema} from "graphql";
1+
import {DocumentNode, GraphQLSchema} from "graphql";
22
import {ApolloServerPlugin} from '@apollo/server';
33

4-
export const constraintDirectiveTypeDefs: string
4+
export const constraintDirectiveTypeDefs: string;
5+
6+
export const constraintDirectiveTypeDefsGql: DocumentNode;
57

68
export function createApollo4QueryValidationPlugin ( options: { schema: GraphQLSchema } ) : ApolloServerPlugin;

0 commit comments

Comments
 (0)