Files
SnowLuma/.pnpm-store/v11/files/ff/ef87dd185b429be20a53277ec11cfe2ebe300e2f61fb8c091a18b9a3743c919678654068c052616255c5380187201d65a90c36087a9ef09c7233c95ef0c9c0
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Canceled after 0s
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

18 lines
630 B
Plaintext

import { HtmlEscapedString } from "../utils/html.js";
import { PropsWithChildren } from "./types.js";
import { Child, FC } from "./base.js";
//#region src/jsx/components.d.ts
export declare const childrenToString: (children: Child[]) => Promise<HtmlEscapedString[]>;
export type ErrorHandler = (error: Error) => void;
export type FallbackRender = (error: Error) => Child;
/**
* @experimental
* `ErrorBoundary` is an experimental feature.
* The API might be changed.
*/
export declare const ErrorBoundary: FC<PropsWithChildren<{
fallback?: Child;
fallbackRender?: FallbackRender;
onError?: ErrorHandler;
}>>;
//#endregion