fix: attrbiutes not being pushed to array
This commit is contained in:
parent
4f8162294b
commit
ce8ae9b89f
@ -95,7 +95,7 @@ export default abstract class SchemaItem<Type = any> implements StandardSchemaV1
|
||||
}
|
||||
|
||||
public attrs(...attributes: Array<string>) {
|
||||
this.attributes.concat(attributes)
|
||||
this.attributes.push(...attributes)
|
||||
return this
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user