This commit is contained in:
9
node_modules/@reduxjs/toolkit/dist/createDraftSafeSelector.d.ts
generated
vendored
Normal file
9
node_modules/@reduxjs/toolkit/dist/createDraftSafeSelector.d.ts
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
import { createSelector } from 'reselect';
|
||||
/**
|
||||
* "Draft-Safe" version of `reselect`'s `createSelector`:
|
||||
* If an `immer`-drafted object is passed into the resulting selector's first argument,
|
||||
* the selector will act on the current draft value, instead of returning a cached value
|
||||
* that might be possibly outdated if the draft has been modified since.
|
||||
* @public
|
||||
*/
|
||||
export declare const createDraftSafeSelector: typeof createSelector;
|
||||
Reference in New Issue
Block a user