We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7532a5c commit 4a48ef0Copy full SHA for 4a48ef0
src/type/definition.ts
@@ -395,7 +395,7 @@ export class GraphQLNonNull<T extends GraphQLNullableType> {
395
396
export type GraphQLWrappingType =
397
| GraphQLList<GraphQLType>
398
- | GraphQLNonNull<GraphQLType>;
+ | GraphQLNonNull<GraphQLNullableType>;
399
400
export function isWrappingType(type: unknown): type is GraphQLWrappingType {
401
return isListType(type) || isNonNullType(type);
0 commit comments