UNPKG

limu

Version:

A fast js lib of immutable data, based on shallow copy on read and mark modified on write mechanism

4 lines (3 loc) 219 B
export declare function original<T extends any = any>(mayDraftProxy: T): T; export declare function current<T extends any = any>(mayDraftProxy: T): T; export declare function markRaw<T extends any = any>(rawVal: T): T;