PHP 8.2.30
Preview: index.d.ts Size: 535 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/use-memo-one/index.d.ts

type DependencyList = ReadonlyArray<any>;

declare function useMemoOne<T>(
  // getResult changes on every call,
  getResult: () => T,
  // the inputs array changes on every call
  inputs: DependencyList | undefined,
): T;

declare function useCallbackOne<T extends (...args: any[]) => any>(
  // getResult changes on every call,
  callback: T,
  // the inputs array changes on every call
  inputs: DependencyList | undefined,
): T;

export {
  useMemoOne,
  useCallbackOne,
  useMemoOne as useMemo,
  useCallbackOne as useCallback
};

Directory Contents

Dirs: 2 × Files: 4

Name Size Perms Modified Actions
dist DIR
- drwxr-xr-x 2026-02-28 00:27:38
Edit Download
src DIR
- drwxr-xr-x 2026-02-28 00:27:06
Edit Download
535 B lrw-r--r-- 2026-02-28 00:28:02
Edit Download
1.05 KB lrw-r--r-- 2026-02-28 00:26:32
Edit Download
2.44 KB lrw-r--r-- 2026-02-28 00:27:46
Edit Download
4.55 KB lrw-r--r-- 2026-02-28 00:27:58
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).