UNPKG

@sentry/nextjs

Version:
8 lines • 454 B
import type { Transaction, TransactionContext } from '@sentry/types'; type StartTransactionCb = (context: TransactionContext) => Transaction | undefined; /** * Instruments the Next.js Clientside Router. */ export declare function nextRouterInstrumentation(startTransactionCb: StartTransactionCb, startTransactionOnPageLoad?: boolean, startTransactionOnLocationChange?: boolean): void; export {}; //# sourceMappingURL=nextRoutingInstrumentation.d.ts.map