UNPKG

@tanstack/router-core

Version:

Modern and scalable routing for React applications

10 lines (9 loc) 353 B
import { SerovalNode } from 'seroval'; export interface ErrorNode { message: SerovalNode; } /** * this plugin serializes only the `message` part of an Error * this helps with serializing e.g. a ZodError which has functions attached that cannot be serialized */ export declare const ShallowErrorPlugin: import('seroval').Plugin<Error, ErrorNode>;