(res: typeof observerResult)
| 188 | } |
| 189 | |
| 190 | function setStateWithReconciliation(res: typeof observerResult) { |
| 191 | const opts = observer().options |
| 192 | // @ts-expect-error - Reconcile option is not correctly typed internally |
| 193 | const reconcileOptions = opts.reconcile |
| 194 | |
| 195 | setState((store) => { |
| 196 | return reconcileFn( |
| 197 | store, |
| 198 | res, |
| 199 | reconcileOptions === undefined ? false : reconcileOptions, |
| 200 | opts.queryHash, |
| 201 | ) |
| 202 | }) |
| 203 | } |
| 204 | |
| 205 | function createDeepSignal<T>(): Signal<T> { |
| 206 | return [ |
no test coverage detected