diff --git a/src/SchemaItem.ts b/src/SchemaItem.ts index 1ef8d70..4085927 100644 --- a/src/SchemaItem.ts +++ b/src/SchemaItem.ts @@ -95,7 +95,7 @@ export default abstract class SchemaItem implements StandardSchemaV1 } public attrs(...attributes: Array) { - this.attributes.concat(attributes) + this.attributes.push(...attributes) return this }