(x: number)
| 37 | class A { |
| 38 | readonly x: number |
| 39 | constructor(x: number) { |
| 40 | this.x = x |
| 41 | } |
| 42 | } |
| 43 | const optic = Optic.id<A>().key("x") |
| 44 | throws(() => optic.replace(2, new A(1)), "Cannot clone object with non-Object constructor or null prototype") |
nothing calls this directly
no outgoing calls
no test coverage detected