@sentry/wizard
Version:
Sentry wizard helping you to configure your project
10 lines (9 loc) • 379 B
TypeScript
import type { namedTypes as t } from 'ast-types';
export declare function addSentryBuildEndToReactRouterConfig(program: t.Program): {
success: boolean;
ssrWasChanged: boolean;
};
export declare function hasReactRouterSentryContent(program: t.Program): boolean;
export declare function instrumentReactRouterConfig(isTS: boolean): Promise<{
ssrWasChanged: boolean;
}>;