Files
NapCatQQ/.pnpm-store/v3/files/c6/db2de42b29d3c762737c2d5f25e2d4e6ce25fe2773a81343d122a13d48d95682469e73f5f27d1c374a7cde3201ac2b6ab7dcd7b506a4b54ea1d8263d36b593
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

4 lines
400 B
Plaintext

import { RefAttributes, ForwardRefExoticComponent, PropsWithoutRef, ComponentType, ComponentRef, ComponentProps } from "react";
import { ErrorBoundaryProps } from "./types.js";
export declare function withErrorBoundary<T extends ComponentType<any>>(component: T, errorBoundaryProps: ErrorBoundaryProps): ForwardRefExoticComponent<PropsWithoutRef<ComponentProps<T>> & RefAttributes<ComponentRef<T>>>;