site/node_modules/micromorph/index.d.ts
2024-10-14 08:09:33 +02:00

9 lines
299 B
TypeScript

export default function micromorph(from: Node, to: Node): Promise<void>;
export interface Patch {
type: number;
[key: string]: any;
}
export function diff(from: Node | undefined, to: Node | undefined): undefined | Patch;
export function patch(container: Node, patch: Patch): Promise<void>;