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