Skip to content
Myr

chore: Fix typo in comment (#776)

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

authored by inokawa · committed by GitHub · parent 557aad5 · Browse files · 1 file+1 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+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:src/core/proxy.ts+1 added-1 removed
140 unmodified lines
141 desc.set.call(state.draft_, value)142 return true143 }144 if (!state.modified_) {145 // the last check is because we need to be able to distinguish setting a non-existig to undefined (which is a change)145 // the last check is because we need to be able to distinguish setting a non-existing to undefined (which is a change)146 // from setting an existing property with value undefined to undefined (which is not a change)147 const current = peek(latest(state), prop)148 // special case, if we assigning the original value to a draft, we can ignore the assignment149 const currentState: ProxyObjectState = current?.[DRAFT_STATE]
124 unmodified lines