amis-rpc-design/node_modules/immer/dist/core/current.d.ts
2023-10-07 19:42:30 +08:00

3 lines
348 B
TypeScript

/** 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