rsc-superjson
Version:
A superjson wrapper for React Server Components (RSC) and Next.js
8 lines • 483 B
TypeScript
import SuperJSON from "superjson";
export declare function RegisterSuperjsonCustomTypesServerside({ registerCustomTypes, }: {
registerCustomTypes: (superjson: typeof SuperJSON) => void;
}): import("react/jsx-runtime").JSX.Element;
export declare function RegisterCustomSuperjsonTypes({ registerCustomTypes, }: {
registerCustomTypes: (superjson: typeof SuperJSON) => void;
}): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=register-custom-types-server.d.ts.map