Files
NapCatQQ/.pnpm-store/v3/files/2e/ece4653f1ce3bbdf0ab3f9e2c624145cfa4d3f1fb5af3554883611a19a2512bd9f33f169e52e2c1e7591748a1ab820e7bd8f40500518b065ba55e2b5e0f8ae
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

4 lines
189 B
Plaintext

export type ShouldUpdateFunc<T> = (prev?: T, next?: T) => boolean;
declare function usePrevious<T>(state: T, shouldUpdate?: ShouldUpdateFunc<T>): T | undefined;
export default usePrevious;