SYMBOL INDEX (362 symbols across 170 files) FILE: packages/hooks/gulpfile.js function camelToKebab (line 8) | function camelToKebab(str) { function genDesc (line 12) | async function genDesc(mdPath) { function genMetaData (line 26) | async function genMetaData() { FILE: packages/hooks/src/createDeepCompareEffect/index.ts type EffectHookType (line 5) | type EffectHookType = typeof useEffect | typeof useLayoutEffect; type CreateUpdateEffect (line 7) | type CreateUpdateEffect = (hook: EffectHookType) => EffectHookType; FILE: packages/hooks/src/createUpdateEffect/index.ts type EffectHookType (line 4) | type EffectHookType = typeof useEffect | typeof useLayoutEffect; FILE: packages/hooks/src/createUseStorageState/__tests__/index.spec.ts class TestStorage (line 6) | class TestStorage implements Storage { method clear (line 13) | clear(): void { method getItem (line 18) | getItem(key: string): string | null { method key (line 22) | key(index: number): string | null { method removeItem (line 30) | removeItem(key: string): void { method setItem (line 36) | setItem(key: string, value: string): void { type StorageStateProps (line 45) | interface StorageStateProps extends Pick, 'defaultValue'> { FILE: packages/hooks/src/createUseStorageState/index.ts constant SYNC_STORAGE_EVENT_NAME (line 7) | const SYNC_STORAGE_EVENT_NAME = 'AHOOKS_SYNC_STORAGE_EVENT_NAME'; type SetState (line 9) | type SetState = S | ((prevState?: S) => S); type Options (line 11) | interface Options { FILE: packages/hooks/src/global.d.ts type Window (line 3) | interface Window { FILE: packages/hooks/src/useAntdTable/__tests__/index.spec.ts type Query (line 9) | interface Query { method getFieldsValue (line 36) | getFieldsValue() { method setFieldsValue (line 44) | setFieldsValue(values: object) { method resetFields (line 50) | resetFields() { method validateFields (line 53) | validateFields(fields: any[]) { method getFieldInstance (line 195) | getFieldInstance(key: string) { FILE: packages/hooks/src/useAntdTable/demo/cache.tsx type Item (line 8) | interface Item { type Result (line 17) | interface Result { FILE: packages/hooks/src/useAntdTable/demo/form.tsx type Item (line 7) | interface Item { type Result (line 16) | interface Result { FILE: packages/hooks/src/useAntdTable/demo/init.tsx type Item (line 7) | interface Item { type Result (line 16) | interface Result { FILE: packages/hooks/src/useAntdTable/demo/ready.tsx type Item (line 8) | interface Item { type Result (line 17) | interface Result { FILE: packages/hooks/src/useAntdTable/demo/table.tsx type Item (line 4) | interface Item { type Result (line 13) | interface Result { FILE: packages/hooks/src/useAntdTable/demo/validate.tsx type Item (line 7) | interface Item { type Result (line 16) | interface Result { FILE: packages/hooks/src/useAntdTable/index.tsx method onSuccess (line 33) | onSuccess(...args) { FILE: packages/hooks/src/useAntdTable/types.ts type Data (line 3) | type Data = { total: number; list: any[] }; type Params (line 5) | type Params = [ type Service (line 17) | type Service = ( type Antd3ValidateFields (line 21) | type Antd3ValidateFields = ( type Antd4ValidateFields (line 25) | type Antd4ValidateFields = (fieldNames?: string[]) => Promise type AntdTableOptions (line 54) | interface AntdTableOptions FILE: packages/hooks/src/useAsyncEffect/demo/demo1.tsx function mockCheck (line 12) | function mockCheck(): Promise { FILE: packages/hooks/src/useAsyncEffect/demo/demo2.tsx function mockCheck (line 12) | function mockCheck(val: string): Promise { FILE: packages/hooks/src/useAsyncEffect/index.ts function isAsyncGenerator (line 5) | function isAsyncGenerator( function useAsyncEffect (line 11) | function useAsyncEffect( FILE: packages/hooks/src/useBoolean/index.ts type Actions (line 4) | interface Actions { function useBoolean (line 11) | function useBoolean(defaultValue = false): [boolean, Actions] { FILE: packages/hooks/src/useClickAway/index.ts type DocumentEventKey (line 7) | type DocumentEventKey = keyof DocumentEventMap; function useClickAway (line 9) | function useClickAway( FILE: packages/hooks/src/useControllableValue/__tests__/index.spec.ts method onChange (line 29) | onChange(v: any, extra: any) { type Value (line 75) | type Value = { FILE: packages/hooks/src/useControllableValue/index.ts type Options (line 7) | interface Options { type Props (line 14) | type Props = Record; type StandardProps (line 16) | interface StandardProps { function useControllableValue (line 29) | function useControllableValue(defaultProps?: Props, options: Op... FILE: packages/hooks/src/useCookieState/demo/demo2.tsx function App (line 11) | function App() { FILE: packages/hooks/src/useCookieState/demo/demo3.tsx function App (line 11) | function App() { FILE: packages/hooks/src/useCookieState/index.ts type State (line 6) | type State = string | undefined; type Options (line 8) | interface Options extends Cookies.CookieAttributes { function useCookieState (line 12) | function useCookieState(cookieKey: string, options: Options = {}) { FILE: packages/hooks/src/useCountDown/index.ts type TDate (line 6) | type TDate = dayjs.ConfigType; type Options (line 8) | interface Options { type FormattedRes (line 15) | interface FormattedRes { FILE: packages/hooks/src/useCounter/index.ts type Options (line 5) | interface Options { type Actions (line 10) | interface Actions { type ValueParam (line 17) | type ValueParam = number | ((c: number) => number); function getTargetValue (line 19) | function getTargetValue(val: number, options: Options = {}) { function useCounter (line 31) | function useCounter(initialValue: number = 0, options: Options = {}) { FILE: packages/hooks/src/useCreation/__tests__/index.spec.ts class Foo (line 7) | class Foo { method constructor (line 8) | constructor() { FILE: packages/hooks/src/useCreation/demo/demo1.tsx class Foo (line 12) | class Foo { method constructor (line 13) | constructor() { FILE: packages/hooks/src/useDebounce/debounceOptions.ts type DebounceOptions (line 1) | interface DebounceOptions { FILE: packages/hooks/src/useDebounce/index.ts function useDebounce (line 5) | function useDebounce(value: T, options?: DebounceOptions) { FILE: packages/hooks/src/useDebounceEffect/index.ts function useDebounceEffect (line 7) | function useDebounceEffect( FILE: packages/hooks/src/useDebounceFn/__tests__/index.spec.ts type ParamsObj (line 6) | interface ParamsObj { FILE: packages/hooks/src/useDebounceFn/index.ts type noop (line 9) | type noop = (...args: any[]) => any; function useDebounceFn (line 11) | function useDebounceFn(fn: T, options?: DebounceOptions) { FILE: packages/hooks/src/useDocumentVisibility/__tests__/index.spec.ts method default (line 11) | get default() { FILE: packages/hooks/src/useDocumentVisibility/index.ts type VisibilityState (line 5) | type VisibilityState = 'hidden' | 'visible' | 'prerender' | undefined; function useDocumentVisibility (line 14) | function useDocumentVisibility(): VisibilityState { FILE: packages/hooks/src/useDrag/__tests__/index.spec.ts method get (line 64) | get() { FILE: packages/hooks/src/useDrag/index.ts type Options (line 9) | interface Options { FILE: packages/hooks/src/useDrop/__tests__/index.spec.ts method items (line 23) | get items() { method files (line 26) | get files() { method items (line 32) | get items() { method files (line 35) | get files() { FILE: packages/hooks/src/useDrop/demo/demo2.tsx constant COMMON_STYLE (line 12) | const COMMON_STYLE: React.CSSProperties = { FILE: packages/hooks/src/useDrop/index.ts type Options (line 7) | interface Options { FILE: packages/hooks/src/useDynamicList/demo/demo4.tsx type Item (line 15) | interface Item { FILE: packages/hooks/src/useEventEmitter/index.ts type Subscription (line 3) | type Subscription = (val: T) => void; class EventEmitter (line 5) | class EventEmitter { method subscription (line 20) | function subscription(val: T) { function useEventEmitter (line 33) | function useEventEmitter() { FILE: packages/hooks/src/useEventListener/index.ts type noop (line 6) | type noop = (...p: any) => void; type Target (line 8) | type Target = BasicTarget; type Options (line 10) | type Options = { function useEventListener (line 45) | function useEventListener(eventName: string | string[], handler: noop, o... FILE: packages/hooks/src/useEventTarget/index.ts type EventTarget (line 5) | interface EventTarget { type Options (line 11) | interface Options { function useEventTarget (line 16) | function useEventTarget(options?: Options) { FILE: packages/hooks/src/useExternal/index.ts type JsOptions (line 3) | type JsOptions = { type CssOptions (line 9) | type CssOptions = { type DefaultOptions (line 15) | type DefaultOptions = { type Options (line 22) | type Options = JsOptions | CssOptions | DefaultOptions; constant EXTERNAL_USED_COUNT (line 26) | const EXTERNAL_USED_COUNT: Record = {}; type Status (line 28) | type Status = 'unset' | 'loading' | 'ready' | 'error'; type LoadResult (line 30) | interface LoadResult { type LoadExternal (line 35) | type LoadExternal = (path: string, props?: Partial) => LoadResult; FILE: packages/hooks/src/useFavicon/demo/demo1.tsx constant DEFAULT_FAVICON_URL (line 12) | const DEFAULT_FAVICON_URL = 'https://ahooks.js.org/simple-logo.svg'; constant GOOGLE_FAVICON_URL (line 14) | const GOOGLE_FAVICON_URL = 'https://www.google.com/favicon.ico'; FILE: packages/hooks/src/useFavicon/index.ts type ImgTypes (line 10) | type ImgTypes = keyof typeof ImgTypeMap; FILE: packages/hooks/src/useFocusWithin/index.tsx type Options (line 5) | interface Options { function useFocusWithin (line 11) | function useFocusWithin(target: BasicTarget, options?: Options) { FILE: packages/hooks/src/useFullscreen/demo/demo4.tsx function vanillaToggleFullscreen (line 12) | function vanillaToggleFullscreen(element: HTMLElement) { FILE: packages/hooks/src/useFullscreen/index.ts type PageFullscreenOptions (line 9) | interface PageFullscreenOptions { type Options (line 14) | interface Options { function getIsFullscreen (line 33) | function getIsFullscreen() { FILE: packages/hooks/src/useFusionTable/__tests__/index.spec.ts type Result (line 6) | type Result = { method getNames (line 44) | getNames() { method setValues (line 47) | setValues(v: any) { method getValues (line 50) | getValues() { method resetToDefault (line 53) | resetToDefault() { method validate (line 56) | validate(names: any, callback: (err: any, values: any) => void) { FILE: packages/hooks/src/useFusionTable/demo/cache.tsx type Item (line 6) | interface Item { type Result (line 15) | interface Result { FILE: packages/hooks/src/useFusionTable/demo/form.tsx type Item (line 5) | interface Item { type Result (line 14) | interface Result { FILE: packages/hooks/src/useFusionTable/demo/init.tsx type Item (line 5) | interface Item { type Result (line 14) | interface Result { FILE: packages/hooks/src/useFusionTable/demo/table.tsx type Item (line 4) | interface Item { type Result (line 13) | interface Result { FILE: packages/hooks/src/useFusionTable/demo/validate.tsx type Item (line 5) | interface Item { type Result (line 14) | interface Result { FILE: packages/hooks/src/useFusionTable/types.ts type Field (line 3) | interface Field { type FusionTableResult (line 12) | interface FusionTableResult type FusionTableOptions (line 35) | interface FusionTableOptions FILE: packages/hooks/src/useGetState/index.ts type GetStateAction (line 5) | type GetStateAction = () => S; function useGetState (line 15) | function useGetState(initialState?: S) { FILE: packages/hooks/src/useHistoryTravel/index.ts type IData (line 5) | interface IData { function useHistoryTravel (line 34) | function useHistoryTravel(initialValue?: T, maxLength: number = 0) { FILE: packages/hooks/src/useHover/index.ts type Options (line 5) | interface Options { FILE: packages/hooks/src/useInViewport/index.ts type CallbackType (line 7) | type CallbackType = (entry: IntersectionObserverEntry) => void; type Options (line 9) | interface Options { function useInViewport (line 16) | function useInViewport(target: BasicTarget | BasicTarget[], options?: Op... FILE: packages/hooks/src/useInfiniteScroll/__tests__/index.spec.ts function mockRequest (line 9) | async function mockRequest() { function setTargetInfo (line 24) | function setTargetInfo(key: 'scrollTop', value: any) { FILE: packages/hooks/src/useInfiniteScroll/demo/default.tsx type Result (line 3) | interface Result { function getLoadMoreList (line 10) | function getLoadMoreList(nextId: string | undefined, limit: number): Pro... FILE: packages/hooks/src/useInfiniteScroll/demo/mutate.tsx type Result (line 3) | interface Result { function getLoadMoreList (line 10) | function getLoadMoreList(nextId: string | undefined, limit: number): Pro... function deleteItem (line 28) | function deleteItem(id: string) { FILE: packages/hooks/src/useInfiniteScroll/demo/pagination.tsx type Result (line 3) | interface Result { function getLoadMoreList (line 10) | function getLoadMoreList(page: number, pageSize: number): Promise { constant PAGE_SIZE (line 24) | const PAGE_SIZE = 4; FILE: packages/hooks/src/useInfiniteScroll/demo/reload.tsx type Result (line 4) | interface Result { function getLoadMoreList (line 11) | function getLoadMoreList( FILE: packages/hooks/src/useInfiniteScroll/demo/scroll.tsx type Result (line 4) | interface Result { function getLoadMoreList (line 11) | function getLoadMoreList(nextId: string | undefined, limit: number): Pro... FILE: packages/hooks/src/useInfiniteScroll/demo/scrollTop.tsx type Result (line 4) | interface Result { function getLoadMoreList (line 28) | function getLoadMoreList(nextId: string | undefined, limit: number): Pro... method onSuccess (line 57) | onSuccess() { FILE: packages/hooks/src/useInfiniteScroll/types.ts type Data (line 4) | type Data = { list: any[]; [key: string]: any }; type Service (line 6) | type Service = (currentData?: TData) => Promise; type InfiniteScrollResult (line 8) | interface InfiniteScrollResult { type InfiniteScrollOptions (line 23) | interface InfiniteScrollOptions { FILE: packages/hooks/src/useInterval/__tests__/index.spec.ts type ParamsObj (line 5) | interface ParamsObj { FILE: packages/hooks/src/useKeyPress/index.ts type KeyType (line 8) | type KeyType = number | string; type KeyPredicate (line 9) | type KeyPredicate = (event: KeyboardEvent) => KeyType | boolean | undefi... type KeyFilter (line 10) | type KeyFilter = KeyType | KeyType[] | ((event: KeyboardEvent) => boolean); type KeyEvent (line 11) | type KeyEvent = 'keydown' | 'keyup'; type Target (line 13) | type Target = BasicTarget; type Options (line 15) | type Options = { function isValidKeyType (line 155) | function isValidKeyType(value: unknown): value is string | number { function countKeyByEvent (line 160) | function countKeyByEvent(event: KeyboardEvent) { function genFilterKey (line 179) | function genFilterKey(event: KeyboardEvent, keyFilter: KeyType, exactMat... function genKeyFormatter (line 222) | function genKeyFormatter(keyFilter: KeyFilter, exactMatch: boolean): Key... function useKeyPress (line 238) | function useKeyPress( FILE: packages/hooks/src/useLatest/index.ts function useLatest (line 3) | function useLatest(value: T) { FILE: packages/hooks/src/useLocalStorageState/demo/demo4.tsx function Counter (line 20) | function Counter() { FILE: packages/hooks/src/useLockFn/demo/demo1.tsx function mockApiRequest (line 13) | function mockApiRequest() { FILE: packages/hooks/src/useLockFn/index.ts function useLockFn (line 3) | function useLockFn

(fn: (...args: P) =>... FILE: packages/hooks/src/useLongPress/__tests__/index.spec.ts method get (line 104) | get() { FILE: packages/hooks/src/useLongPress/index.ts type EventType (line 7) | type EventType = MouseEvent | TouchEvent; type Options (line 8) | interface Options { function useLongPress (line 15) | function useLongPress( FILE: packages/hooks/src/useMap/index.ts function useMap (line 4) | function useMap(initialValue?: Iterable) { FILE: packages/hooks/src/useMemoizedFn/index.ts type noop (line 5) | type noop = (this: any, ...args: any[]) => any; type PickFunction (line 7) | type PickFunction = ( FILE: packages/hooks/src/useMount/index.ts type MountCallback (line 6) | type MountCallback = EffectCallback | (() => Promise void)>); FILE: packages/hooks/src/useMouse/__tests__/index.spec.ts function moveMouse (line 6) | function moveMouse(x: number, y: number) { FILE: packages/hooks/src/useMouse/index.ts type CursorState (line 6) | interface CursorState { FILE: packages/hooks/src/useNetwork/index.ts type NetworkState (line 4) | interface NetworkState { type NetworkEventType (line 15) | enum NetworkEventType { function getConnection (line 21) | function getConnection() { function getConnectionProperty (line 29) | function getConnectionProperty(): NetworkState { function useNetwork (line 44) | function useNetwork(): NetworkState { FILE: packages/hooks/src/usePagination/demo/demo1.tsx type UserListItem (line 4) | interface UserListItem { function getUserList (line 26) | async function getUserList(params: { FILE: packages/hooks/src/usePagination/demo/demo2.tsx type UserListItem (line 6) | interface UserListItem { function getUserList (line 28) | async function getUserList(params: { FILE: packages/hooks/src/usePagination/demo/demo3.tsx type UserListItem (line 6) | interface UserListItem { function getUserList (line 28) | async function getUserList(params: { FILE: packages/hooks/src/usePagination/demo/demo4.tsx type UserListItem (line 7) | interface UserListItem { function getUserList (line 29) | async function getUserList(params: { FILE: packages/hooks/src/usePagination/types.ts type Data (line 3) | type Data = { total: number; list: any[] }; type Params (line 5) | type Params = [{ current: number; pageSize: number; [key: string]: any }... type Service (line 7) | type Service = ( type PaginationResult (line 11) | interface PaginationResult type PaginationOptions (line 24) | interface PaginationOptions FILE: packages/hooks/src/usePrevious/__tests__/index.spec.ts function getHook (line 7) | function getHook(initialValue?: T, compareFunction?: ShouldUpdateFunc... type Obj (line 70) | type Obj = { label: string; value: string }; FILE: packages/hooks/src/usePrevious/demo/demo2.tsx type Person (line 12) | interface Person { FILE: packages/hooks/src/usePrevious/index.ts type ShouldUpdateFunc (line 3) | type ShouldUpdateFunc = (prev?: T, next?: T) => boolean; function usePrevious (line 7) | function usePrevious( FILE: packages/hooks/src/useRafInterval/__tests__/index.spec.ts type ParamsObj (line 6) | interface ParamsObj { constant FRAME_TIME (line 15) | const FRAME_TIME = 16; FILE: packages/hooks/src/useRafInterval/__tests__/node.spec.ts type ParamsObj (line 5) | interface ParamsObj { constant FRAME_TIME (line 14) | const FRAME_TIME = 16; FILE: packages/hooks/src/useRafInterval/index.ts type Handle (line 5) | interface Handle { function useRafInterval (line 42) | function useRafInterval( FILE: packages/hooks/src/useRafState/index.ts function useRafState (line 8) | function useRafState(initialState?: S | (() => S)) { FILE: packages/hooks/src/useRafTimeout/__tests__/index.spec.ts type ParamsObj (line 6) | interface ParamsObj { constant FRAME_TIME (line 13) | const FRAME_TIME = 16.7; FILE: packages/hooks/src/useRafTimeout/__tests__/node.spec.ts type ParamsObj (line 5) | interface ParamsObj { constant FRAME_TIME (line 12) | const FRAME_TIME = 16.7; FILE: packages/hooks/src/useRafTimeout/index.ts type Handle (line 5) | interface Handle { function useRafTimeout (line 45) | function useRafTimeout(fn: () => void, delay: number | undefined) { FILE: packages/hooks/src/useReactive/__tests__/index.spec.tsx method value (line 260) | get value() { FILE: packages/hooks/src/useReactive/demo/demo3.tsx method addBug (line 7) | addBug(bug: any) { method bugsCount (line 10) | get bugsCount() { FILE: packages/hooks/src/useReactive/index.ts function observer (line 11) | function observer>(initialVal: T, cb: () =... function useReactive (line 57) | function useReactive>(initialState: S): S { FILE: packages/hooks/src/useRequest/doc/basic/demo/cancel.tsx function editUsername (line 5) | function editUsername(username: string): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/default.tsx function getUsername (line 9) | function getUsername(): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/lifeCycle.tsx function editUsername (line 5) | function editUsername(username: string): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/manual-run.tsx function editUsername (line 13) | function editUsername(username: string): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/manual-runAsync.tsx function editUsername (line 13) | function editUsername(username: string): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/mutate.tsx function getUsername (line 12) | function getUsername(): Promise { function editUsername (line 20) | function editUsername(username: string): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/params.tsx function getUsername (line 5) | function getUsername(id: string): Promise { FILE: packages/hooks/src/useRequest/doc/basic/demo/refresh.tsx function getUsername (line 11) | function getUsername(id: number): Promise { FILE: packages/hooks/src/useRequest/doc/debounce/demo/debounce.tsx function getEmail (line 3) | async function getEmail(search?: string): Promise { FILE: packages/hooks/src/useRequest/doc/index/demo/default.tsx function getUsername (line 9) | function getUsername(): Promise { FILE: packages/hooks/src/useRequest/doc/index/demo/manual.tsx function changeUsername (line 14) | function changeUsername(username: string): Promise<{ success: boolean }> { FILE: packages/hooks/src/useRequest/doc/loadingDelay/demo/loadingDelay.tsx function getUsername (line 4) | function getUsername(): Promise { FILE: packages/hooks/src/useRequest/doc/polling/demo/polling.tsx function getUsername (line 4) | function getUsername() { FILE: packages/hooks/src/useRequest/doc/polling/demo/pollingError.tsx function getUsername (line 5) | function getUsername() { FILE: packages/hooks/src/useRequest/doc/ready/demo/manualReady.tsx function getUsername (line 3) | function getUsername() { FILE: packages/hooks/src/useRequest/doc/ready/demo/ready.tsx function getUsername (line 3) | function getUsername() { FILE: packages/hooks/src/useRequest/doc/refreshDeps/demo/refreshDeps.tsx function getUsername (line 14) | function getUsername(id: number): Promise { FILE: packages/hooks/src/useRequest/doc/refreshDeps/demo/refreshDepsAction.tsx function getUsername (line 15) | function getUsername(id: number): Promise { FILE: packages/hooks/src/useRequest/doc/refreshOnWindowFocus/demo/refreshOnWindowFocus.tsx function getUsername (line 4) | function getUsername() { FILE: packages/hooks/src/useRequest/doc/retry/demo/retry.tsx function editUsername (line 5) | function editUsername(username: string) { FILE: packages/hooks/src/useRequest/doc/throttle/demo/throttle.tsx function getEmail (line 3) | async function getEmail(search?: string): Promise { FILE: packages/hooks/src/useRequest/src/Fetch.ts class Fetch (line 6) | class Fetch { method constructor (line 18) | constructor( method setState (line 31) | setState(s: Partial> = {}) { method runPluginHandler (line 39) | runPluginHandler(event: keyof PluginReturn, ...rest: a... method runAsync (line 45) | async runAsync(...params: TParams): Promise { method run (line 130) | run(...params: TParams) { method cancel (line 138) | cancel() { method refresh (line 147) | refresh() { method refreshAsync (line 152) | refreshAsync() { method mutate (line 157) | mutate(data?: TData | ((oldData?: TData) => TData | undefined)) { FILE: packages/hooks/src/useRequest/src/types.ts type Service (line 5) | type Service = (...args: TParams) => Promi... type Subscribe (line 6) | type Subscribe = () => void; type FetchState (line 10) | interface FetchState { type PluginReturn (line 17) | interface PluginReturn { type Options (line 41) | interface Options { type Plugin (line 96) | type Plugin = { type Result (line 111) | interface Result { type Timeout (line 124) | type Timeout = ReturnType; FILE: packages/hooks/src/useRequest/src/useRequest.ts function useRequest (line 22) | function useRequest( FILE: packages/hooks/src/useRequest/src/useRequestImplement.ts function useRequestImplement (line 12) | function useRequestImplement( FILE: packages/hooks/src/useRequest/src/utils/cache.ts type Timer (line 1) | type Timer = ReturnType; type CachedKey (line 2) | type CachedKey = string | number; type CachedData (line 4) | interface CachedData { type RecordData (line 9) | interface RecordData extends CachedData { FILE: packages/hooks/src/useRequest/src/utils/cachePromise.ts type CachedKey (line 1) | type CachedKey = string | number; FILE: packages/hooks/src/useRequest/src/utils/cacheSubscribe.ts type Listener (line 1) | type Listener = (data: any) => void; FILE: packages/hooks/src/useRequest/src/utils/isDocumentVisible.ts function isDocumentVisible (line 3) | function isDocumentVisible(): boolean { FILE: packages/hooks/src/useRequest/src/utils/limit.ts function limit (line 1) | function limit(fn: any, timespan: number) { FILE: packages/hooks/src/useRequest/src/utils/subscribeFocus.ts type Listener (line 6) | type Listener = () => void; function subscribe (line 10) | function subscribe(listener: Listener) { FILE: packages/hooks/src/useRequest/src/utils/subscribeReVisible.ts type Listener (line 4) | type Listener = () => void; function subscribe (line 8) | function subscribe(listener: Listener) { FILE: packages/hooks/src/useResetState/index.ts type ResetState (line 7) | type ResetState = () => void; FILE: packages/hooks/src/useResponsive/__tests__/index.spec.ts function changeWidth (line 6) | function changeWidth(width: number) { FILE: packages/hooks/src/useResponsive/index.ts type Subscriber (line 4) | type Subscriber = () => void; type ResponsiveConfig (line 8) | type ResponsiveConfig = Record; type ResponsiveInfo (line 9) | type ResponsiveInfo = Record; function handleResize (line 21) | function handleResize() { function calculate (line 34) | function calculate() { function configResponsive (line 49) | function configResponsive(config: ResponsiveConfig) { function useResponsive (line 54) | function useResponsive() { FILE: packages/hooks/src/useSafeState/index.ts function useSafeState (line 9) | function useSafeState(initialState?: S | (() => S)) { FILE: packages/hooks/src/useScroll/index.ts type Position (line 7) | type Position = { left: number; top: number }; type Target (line 9) | type Target = BasicTarget; type ScrollListenController (line 10) | type ScrollListenController = (val: Position) => boolean; function useScroll (line 12) | function useScroll( FILE: packages/hooks/src/useSelections/__tests__/index.spec.ts type CaseCallback (line 19) | type CaseCallback = (data: T[], selected: T[], sele... FILE: packages/hooks/src/useSelections/demo/demo3.tsx type DataType (line 13) | interface DataType { type PaginationType (line 18) | interface PaginationType { FILE: packages/hooks/src/useSelections/index.ts type Options (line 6) | interface Options { function useSelections (line 11) | function useSelections(items: T[], options?: T[] | Options) { FILE: packages/hooks/src/useSet/index.ts function useSet (line 4) | function useSet(initialValue?: Iterable) { FILE: packages/hooks/src/useSetState/demo/demo1.tsx type State (line 11) | interface State { FILE: packages/hooks/src/useSetState/demo/demo2.tsx type State (line 11) | interface State { FILE: packages/hooks/src/useSetState/index.ts type SetState (line 5) | type SetState> = ( FILE: packages/hooks/src/useSize/__tests__/index.spec.tsx function Setup (line 34) | function Setup() { FILE: packages/hooks/src/useSize/index.ts type Size (line 7) | type Size = { width: number; height: number }; function useSize (line 9) | function useSize(target: BasicTarget): Size | undefined { FILE: packages/hooks/src/useTextSelection/__tests__/index.spec.ts function downMouse (line 7) | function downMouse(x: number, y: number, options?: MouseEventInit) { function upMouse (line 21) | function upMouse(x: number, y: number) { function initGetSelection (line 34) | function initGetSelection({ top = 0, left = 0, height = 0, width = 0, te... FILE: packages/hooks/src/useTextSelection/index.ts type Rect (line 6) | interface Rect { type State (line 14) | interface State extends Rect { function getRectFromSelection (line 32) | function getRectFromSelection(selection: Selection | null): Rect { function useTextSelection (line 52) | function useTextSelection(target?: BasicTarget): Sta... FILE: packages/hooks/src/useTheme/index.ts type ThemeMode (line 5) | enum ThemeMode { type ThemeModeType (line 11) | type ThemeModeType = `${ThemeMode}`; type ThemeType (line 13) | type ThemeType = 'light' | 'dark'; type Options (line 44) | type Options = { function useTheme (line 48) | function useTheme(options: Options = {}) { FILE: packages/hooks/src/useThrottle/index.ts function useThrottle (line 5) | function useThrottle(value: T, options?: ThrottleOptions) { FILE: packages/hooks/src/useThrottle/throttleOptions.ts type ThrottleOptions (line 1) | interface ThrottleOptions { FILE: packages/hooks/src/useThrottleEffect/index.ts function useThrottleEffect (line 7) | function useThrottleEffect( FILE: packages/hooks/src/useThrottleFn/__tests__/index.spec.ts type ParamsObj (line 6) | interface ParamsObj { FILE: packages/hooks/src/useThrottleFn/index.ts type noop (line 9) | type noop = (...args: any[]) => any; function useThrottleFn (line 11) | function useThrottleFn(fn: T, options?: ThrottleOptions) { FILE: packages/hooks/src/useTimeout/__tests__/index.spec.ts type ParamsObj (line 5) | interface ParamsObj { FILE: packages/hooks/src/useTitle/index.ts type Options (line 5) | interface Options { constant DEFAULT_OPTIONS (line 9) | const DEFAULT_OPTIONS: Options = { function useTitle (line 13) | function useTitle(title: string, options: Options = DEFAULT_OPTIONS) { FILE: packages/hooks/src/useToggle/index.ts type Actions (line 3) | interface Actions { function useToggle (line 16) | function useToggle(defaultValue: D = false as unknown as D, revers... FILE: packages/hooks/src/useTrackedEffect/index.ts type Effect (line 4) | type Effect = ( FILE: packages/hooks/src/useVirtualList/index.ts type ItemHeight (line 12) | type ItemHeight = (index: number, data: T) => number; type Options (line 14) | interface Options { FILE: packages/hooks/src/useWebSocket/demo/demo1.tsx type ReadyState (line 4) | enum ReadyState { FILE: packages/hooks/src/useWebSocket/index.ts type ReadyState (line 6) | enum ReadyState { type Options (line 13) | interface Options { type Result (line 25) | interface Result { function useWebSocket (line 34) | function useWebSocket(socketUrl: string, options: Options = {}): Result { FILE: packages/hooks/src/useWhyDidYouUpdate/index.ts type IProps (line 3) | type IProps = Record; function useWhyDidYouUpdate (line 5) | function useWhyDidYouUpdate(componentName: string, props: IProps) { FILE: packages/hooks/src/utils/depsAreSame.ts function depsAreSame (line 3) | function depsAreSame(oldDeps: DependencyList, deps: DependencyList): boo... FILE: packages/hooks/src/utils/domTarget.ts type TargetValue (line 5) | type TargetValue = T | undefined | null; type TargetType (line 7) | type TargetType = HTMLElement | Element | Window | Document; type BasicTarget (line 9) | type BasicTarget = function getTargetElement (line 14) | function getTargetElement(target: BasicTarget, ... FILE: packages/hooks/src/utils/getDocumentOrShadow.ts type TargetValue (line 4) | type TargetValue = T | undefined | null; FILE: packages/hooks/src/utils/lodash-polyfill.ts function isNodeOrWeb (line 3) | function isNodeOrWeb() { FILE: packages/hooks/src/utils/testingHelpers.ts function sleep (line 1) | function sleep(time: number) { function request (line 9) | function request(req: any) { FILE: packages/use-url-state/src/index.ts type Options (line 11) | interface Options { type UrlState (line 27) | type UrlState = Record; type State (line 33) | type State = Partial<{