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 1de3bd3 commit 385597eCopy full SHA for 385597e
src/type/definition.ts
@@ -50,10 +50,7 @@ import type { GraphQLSchema } from './schema';
50
/**
51
* These are all of the possible kinds of types.
52
*/
53
-export type GraphQLType =
54
- | GraphQLNamedType
55
- | GraphQLList<GraphQLType>
56
- | GraphQLNonNull<GraphQLNullableType>;
+export type GraphQLType = GraphQLNamedType | GraphQLWrappingType;
57
58
export function isType(type: unknown): type is GraphQLType {
59
return (
0 commit comments