mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 18:25:24 +00:00
Changed props getter to clone recursively instead of freezing
This commit is contained in:
@@ -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]);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user