Skip to content
This repository has been archived by the owner on Dec 24, 2024. It is now read-only.

Commit

Permalink
fix(shared/deepAssign): use spread instead of .freeze
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jul 18, 2020
1 parent 7f54d4e commit bb8503c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared/deepAssign.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ class DeepAssign {
* @type {Readonly<DeepAssignOptions>}
*/
get options() {
return Object.freeze(this._options);
return { ...this._options };
}
/**
* Checks if an object is a plain `Object` and not an instance of some class.
Expand Down

0 comments on commit bb8503c

Please sign in to comment.