quicktype-core 23.0.98 → 23.0.99

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -670,7 +670,7 @@ function addTypesInSchema(resolver, typeBuilder, references, attributeProducers)
670
670
  const itemsLoc = loc.push("items");
671
671
  itemType = yield toType(checkJSONSchema(items, itemsLoc.canonicalRef), itemsLoc, singularAttributes);
672
672
  }
673
- else if (items !== undefined) {
673
+ else if (items !== undefined && items !== true) {
674
674
  return (0, Messages_1.messageError)("SchemaArrayItemsMustBeStringOrArray", withRef(loc, { actual: items }));
675
675
  }
676
676
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quicktype-core",
3
- "version": "23.0.98",
3
+ "version": "23.0.99",
4
4
  "description": "The quicktype engine as a library",
5
5
  "license": "Apache-2.0",
6
6
  "main": "dist/index.js",