fix: non-enumerable (immutable) methods on Map/Set (#1069)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
when an immer object includes a Map/Set, the mutating methods are replaced with ones that prevent mutation outside of the procude function. to prevent cluttering the console when inspecting the Map/Set, these methods are set to non-enumerable. this behavior also matches that of the original methods that are replaced.
authored by gimelg · committed by GitHub · parent b4f71a6 · Browse files · 1 file+6 added−1 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+6 added−1 removed
- other:+6 added−1 removed