UNPKG

solid-js

Version:

A declarative JavaScript library for building user interfaces.

7 lines (6 loc) 265 B
export type ReconcileOptions = { key?: string | null; merge?: boolean; }; export declare function reconcile<T extends U, U>(value: T, options?: ReconcileOptions): (state: U) => T; export declare function produce<T>(fn: (state: T) => void): (state: T) => T;