(...units: CommonUnit[])
| 296 | scope: forkPage!, |
| 297 | }), |
| 298 | reset(...units: CommonUnit[]) { |
| 299 | assert( |
| 300 | // @ts-expect-error |
| 301 | store.targetable, |
| 302 | '.reset of derived store is not supported', |
| 303 | errorTitle, |
| 304 | ) |
| 305 | forEach(units, unit => |
| 306 | on(store, '.reset', unit, () => store.defaultState, errorTitle), |
| 307 | ) |
| 308 | return store |
| 309 | }, |
| 310 | on(nodeSet: CommonUnit | CommonUnit[], fn: Function) { |
| 311 | assert( |
| 312 | // @ts-expect-error |
no test coverage detected
searching dependent graphs…