site/node_modules/micromorph/index.d.ts

9 lines
299 B
TypeScript
Raw Normal View History

2024-10-14 06:09:33 +00:00
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>;