@sentry/wizard
Version:
Sentry wizard helping you to configure your project
26 lines (25 loc) • 855 B
TypeScript
export type PartialBackwardsForwardsCompatibleSvelteConfig = {
kit?: {
files?: {
hooks?: {
client?: string;
server?: string;
};
routes?: string;
};
experimental?: {
tracing?: {
server?: boolean;
};
instrumentation?: {
server?: boolean;
};
};
};
};
export declare function loadSvelteConfig(): Promise<PartialBackwardsForwardsCompatibleSvelteConfig>;
export declare function enableTracingAndInstrumentation(originalSvelteConfig: PartialBackwardsForwardsCompatibleSvelteConfig, enableTracing: boolean): Promise<void>;
export declare function _enableTracingAndInstrumentationInConfig(config: string, enableTracing: boolean): {
result?: string;
error?: string;
};