Merge pull request #727 from umbraco/nathanwoulfe-patch-1

Update data-type-property-collection.class.ts
This commit is contained in:
Nathan Woulfe
2023-06-01 03:51:55 +10:00
committed by GitHub

View File

@@ -9,6 +9,10 @@ export class UmbDataTypePropertyCollection extends Array<DataTypePropertyPresent
super(...args);
}
static get [Symbol.species](): ArrayConstructor {
return Array;
}
getValueByAlias<T>(alias: string): T | undefined {
const property = this.getByAlias(alias);