Changed props getter to clone recursively instead of freezing

This commit is contained in:
Alexander Cerutti
2021-10-20 21:28:01 +02:00
parent 57f8fc5be3
commit e0c6d61c30
2 changed files with 6 additions and 6 deletions

View File

@@ -183,8 +183,8 @@ export default class PKPass extends Bundle {
* that are composing your pass instance.
*/
public get props(): Readonly<Schemas.PassProps> {
return Utils.freezeRecursive(this[propsSymbol]);
public get props(): Schemas.PassProps {
return Utils.cloneRecursive(this[propsSymbol]);
}
/**