package.dist._internal.react-server.d.mts Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swr Show documentation
Show all versions of swr Show documentation
React Hooks library for remote data fetching
The newest version!
type ArgumentsTuple = readonly [any, ...unknown[]];
type Arguments = string | ArgumentsTuple | Record | null | undefined | false;
type Key = Arguments | (() => Arguments);
declare const serialize: (key: Key) => [string, Arguments];
declare const INFINITE_PREFIX = "$inf$";
export { INFINITE_PREFIX, serialize };