UNPKG

use-s-react

Version:

useS is a minimal yet powerful React hook for managing both local and global state — with zero boilerplate

3 lines (2 loc) 137 B
import type { PartialDeep } from "../types"; export declare function deepAssign<T extends object>(target: T, source: PartialDeep<T>): T;