Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

non-enumerable (immutable) methods on Map/Set #1069

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Sep 10, 2023

  1. non-enumerable (immutable) methods on Map/Set

    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.
    gimelg committed Sep 10, 2023
    Configuration menu
    Copy the full SHA
    150b303 View commit details
    Browse the repository at this point in the history