From ce8ae9b89fab5b30342c3619b8ed6867a0baa002 Mon Sep 17 00:00:00 2001 From: Avior Date: Thu, 3 Apr 2025 13:39:24 +0200 Subject: [PATCH] fix: attrbiutes not being pushed to array --- src/SchemaItem.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }