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
+19
View File
@@ -0,0 +1,19 @@
//#region src/core/state.d.ts
type StateChange = () => void;
type UnknownState = Record<string, unknown>;
interface SubscribeOptions {
signal?: AbortSignal;
}
interface State<T> {
readonly current: Readonly<T>;
subscribe(callback: StateChange, options?: SubscribeOptions): () => void;
}
interface WritableState<T> extends State<T> {
patch: (partial: Partial<T>) => void;
}
declare function flush(): void;
declare function createState<T>(initial: T): WritableState<T>;
declare function isState(value: unknown): value is State<object>;
//#endregion
export { State, StateChange, SubscribeOptions, UnknownState, WritableState, createState, flush, isState };
//# sourceMappingURL=state.d.ts.map