build(store): build26 from 45504a2b

This commit is contained in:
publish
2026-08-05 18:57:36 +02:00
commit 3f9bdddf36
102 changed files with 2265 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
import { AnySlice, InferSliceState } from "./slice.js";
import { Selector } from "./shallow-equal.js";
//#region src/core/selector.d.ts
/**
* Create a type-safe selector for a slice's state.
*
* The selector returns the slice's state, or `undefined` if the slice
* is not configured in the store.
*
* @example
* ```ts
* const selectPlayback = createSelector(playbackSlice);
* selectPlayback(store.state); // { paused, play, pause, ... } | undefined
* selectPlayback.displayName; // 'playback' (from slice name)
* ```
*
* @param slice - The slice to create a selector for.
*/
declare function createSelector<S extends AnySlice>(slice: S): Selector<object, InferSliceState<S> | undefined>;
//#endregion
export { createSelector };
//# sourceMappingURL=selector.d.ts.map