Files
SnowLuma/.pnpm-store/v11/files/59/66e055cf7094acac1b87ed16e1f2db9a3234b45295977b885815302cd12c28af0d0b8e863e83f76f12f70b4b5d5da1d4015920483a9b74c860af0f0ac842fb
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

5 lines
268 B
Plaintext

import { AnyAtom } from '@tanstack/store';
export declare function useStore<TAtom extends AnyAtom | undefined, T>(atom: TAtom, selector: (snapshot: TAtom extends {
get: () => infer TSnapshot;
} ? TSnapshot : undefined) => T, compare?: (a: T, b: T) => boolean): T;