UNPKG

@sentry/remix

Version:
10 lines • 522 B
import type { Transaction } from '@sentry/types'; import type { ExpressCreateRequestHandler, ExpressRequestHandler, ExpressResponse } from '../types'; /** * Instruments `createRequestHandler` from `@remix-run/express` */ export declare function wrapExpressCreateRequestHandler(origCreateRequestHandler: ExpressCreateRequestHandler): (options: any) => ExpressRequestHandler; export declare type AugmentedExpressResponse = ExpressResponse & { __sentryTransaction?: Transaction; }; //# sourceMappingURL=express.d.ts.map