Files
NapCatQQ/.pnpm-store/v3/files/f1/a1162a31ac2ba70fd81dd78f00ac98edf7302f53ecb9784db099d029bc59fa2201515639408c6aea0a48364474784c566a9704d7d0ae04b5ac53c276b0550b
TanTan e311ca3275
Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

5 lines
284 B
Plaintext

import type { Dispatch, SetStateAction } from 'react';
declare function useRafState<S>(initialState: S | (() => S)): [S, Dispatch<SetStateAction<S>>];
declare function useRafState<S = undefined>(): [S | undefined, Dispatch<SetStateAction<S | undefined>>];
export default useRafState;