@sentry/nextjs
Version:
Official Sentry SDK for Next.js
7 lines (6 loc) • 358 B
TypeScript
import { ServerComponentContext } from '../common/types';
/**
* Wraps an `app` directory server component with Sentry error instrumentation.
*/
export declare function wrapServerComponentWithSentry<F extends (...args: any[]) => any>(appDirComponent: F, context: ServerComponentContext): F;
//# sourceMappingURL=wrapServerComponentWithSentry.d.ts.map