graphql-language-service-utils
Advanced tools
Comparing version 2.7.0 to 2.7.1-canary-742288e7.0
@@ -16,3 +16,3 @@ "use strict"; | ||
} | ||
else if (t instanceof graphql_1.GraphQLList) { | ||
else if (graphql_1.isListType(t)) { | ||
text(into, '['); | ||
@@ -19,0 +19,0 @@ renderType(into, t.ofType); |
@@ -1,2 +0,2 @@ | ||
import { GraphQLList, isEnumType, isInputObjectType, isListType, isNonNullType, isScalarType, } from 'graphql'; | ||
import { isEnumType, isInputObjectType, isListType, isNonNullType, isScalarType, } from 'graphql'; | ||
export const defaultJSONSchemaOptions = { | ||
@@ -13,3 +13,3 @@ useMarkdownDescription: false, | ||
} | ||
else if (t instanceof GraphQLList) { | ||
else if (isListType(t)) { | ||
text(into, '['); | ||
@@ -16,0 +16,0 @@ renderType(into, t.ofType); |
{ | ||
"name": "graphql-language-service-utils", | ||
"version": "2.7.0", | ||
"version": "2.7.1-canary-742288e7.0", | ||
"description": "Utilities to support the GraphQL Language Service", | ||
@@ -5,0 +5,0 @@ "contributors": [ |
@@ -11,3 +11,2 @@ /** | ||
GraphQLInputType, | ||
GraphQLList, | ||
isEnumType, | ||
@@ -76,4 +75,5 @@ isInputObjectType, | ||
text(into, '!'); | ||
} else if (t instanceof GraphQLList) { | ||
} else if (isListType(t)) { | ||
text(into, '['); | ||
// @ts-ignore | ||
renderType(into, t.ofType); | ||
@@ -80,0 +80,0 @@ text(into, ']'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
125676
2