Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
10 lines
438 B
Plaintext
10 lines
438 B
Plaintext
import { EdgeRouteHandler } from '../edge/types';
|
|
/**
|
|
* Wraps Next.js middleware with Sentry error and performance instrumentation.
|
|
*
|
|
* @param middleware The middleware handler.
|
|
* @returns a wrapped middleware handler.
|
|
*/
|
|
export declare function wrapMiddlewareWithSentry<H extends EdgeRouteHandler>(middleware: H): (...params: Parameters<H>) => Promise<ReturnType<H>>;
|
|
//# sourceMappingURL=wrapMiddlewareWithSentry.d.ts.map
|