amis-rpc-design/node_modules/immer/dist/core/current.d.ts

3 lines
348 B
TypeScript
Raw Normal View History

2023-10-07 19:42:30 +08:00
/** Takes a snapshot of the current state of a draft and finalizes it (but without freezing). This is a great utility to print the current state during debugging (no Proxies in the way). The output of current can also be safely leaked outside the producer. */
export declare function current<T>(value: T): T;
//# sourceMappingURL=current.d.ts.map