@sentry/nextjs
Version:
Official Sentry SDK for Next.js
6 lines • 356 B
TypeScript
import type { 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