UNPKG

shelving

Version:

Toolkit for using data in JavaScript.

7 lines (6 loc) 202 B
type Mutable<T> = { -readonly [K in keyof T]: T[K]; }; /** Create an object that persist for the lifetime of the component. */ export declare function useProps<T>(): Partial<Mutable<T>>; export {};