Files
SnowLuma/.pnpm-store/v11/files/1c/afa9cbe2b399b24a543184afef7a8400ff49621d2948c4149a616d0a307be0b307c8227253caa5dcbba20083320e7fa2c7a4b55b216338434da8b03bd325ad
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

10 lines
384 B
Plaintext

import { PluginInfo, SerovalNode } from 'seroval';
export interface ErrorNode extends PluginInfo {
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>;