UNPKG

zustand-persist

Version:
10 lines (9 loc) 345 B
export declare type NonFunctionPropertyNames<T> = { [K in keyof T]: T[K] extends Function ? never : K; }[keyof T]; interface ReconcileOption<T> { allowlist?: NonFunctionPropertyNames<T>[]; denylist?: NonFunctionPropertyNames<T>[]; } export default function reconcile<T>(state: T, option?: ReconcileOption<T>): Partial<T>; export {};