@sentry/nextjs
Version:
Official Sentry SDK for Next.js
9 lines (8 loc) • 458 B
TypeScript
import { 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