UNPKG

solid-js

Version:

A declarative JavaScript library for building user interfaces.

10 lines (9 loc) 267 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;