Skip to content
Myr

Fixed issue in the flow type for `nothing`

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

authored by Michel Weststrate · committed by Michel Weststrate · parent 1802421 · Browse files · 2 files+5 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

2 files+5 added−1 removed

  • other:+5 added−1 removed

2 files+5 added−1 removed

modified:src/immer.js.flow+1 added-1 removed
67 unmodified lines
6869declare export var produce: IProduce70declare export default IProduce7172declare export var nothing: undefined72declare export var nothing: typeof undefined7374/**75 * Automatically freezes any state trees generated by immer.76 * This protects against accidental modifications of the state tree outside of an immer function.
14 unmodified lines
modified:changelog.md+4 added