Skip to content
Myr

fix: add immerable Flow typedef

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Aurelio Ogliari · committed by Aurelio Ogliari · parent a866760 · Browse files · 1 file+2 added−0 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+2 added−0 removed

  • other:+2 added−0 removed

1 file+2 added−0 removed

modified:src/immer.js.flow+2 added
69 unmodified lines
70declare export default IProduce7172declare export var nothing: typeof undefined7374declare export var immerable: Symbol7576/**77 * Automatically freezes any state trees generated by immer.78 * This protects against accidental modifications of the state tree outside of an immer function.79 * This comes with a performance impact, so it is recommended to disable this option in production.
28 unmodified lines