Update data-type-property-collection.class.ts

Ensure map et al works - missing override
This commit is contained in:
Nathan Woulfe
2023-05-19 14:02:57 +10:00
committed by GitHub
parent ea875388f7
commit fd21c247e4

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);