@takeshape/schema 8.23.0 → 8.23.2

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.
package/es/validate.js CHANGED
@@ -364,8 +364,7 @@ function validateDirectives(projectSchema, additionalShapeIds = builtInModelShap
364
364
  }
365
365
 
366
366
  function validateOneOfs(projectSchema) {
367
- const errors = []; // eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
368
-
367
+ const errors = [];
369
368
  visitShapeProperties(projectSchema.shapes, (schema, path) => {
370
369
  const oneOfPath = schema.items ? ['items', 'oneOf'] : ['oneOf'];
371
370
  schema = schema.items ? schema.items : schema;