1 | import { createSelector } from 'reselect';
|
2 | /**
|
3 | * "Draft-Safe" version of `reselect`'s `createSelector`:
|
4 | * If an `immer`-drafted object is passed into the resulting selector's first argument,
|
5 | * the selector will act on the current draft value, instead of returning a cached value
|
6 | * that might be possibly outdated if the draft has been modified since.
|
7 | * @public
|
8 | */
|
9 | export declare const createDraftSafeSelector: typeof createSelector;
|