Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/immerjs/immer
/ Foo
Interface
Foo
__tests__/draft.ts:94–96 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
92
// Interface
93
{
94
interface
Foo {
95
a: {b: number}
96
}
97
let
val: Foo = _
98
assert(toDraft(val), val)
99
assert(fromDraft(toDraft(val)), val)
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected