UNPKG

mahler

Version:

A automated task composer and HTN based planner for building autonomous system agents

5 lines (4 loc) 266 B
import { Ref } from '../ref'; import type { Operation } from '../operation'; export declare function applyPatch<S>(r: Ref<S>, changes: Operation<S> | Array<Operation<S>>): void; export declare function patch<S>(s: S, changes: Operation<S> | Array<Operation<S>>): S;