@sentry/wizard
Version:
Sentry wizard helping you to configure your project
12 lines (11 loc) • 474 B
TypeScript
export declare function addSentryInit({ dsn }: {
dsn: string;
}): Promise<void>;
export declare function addSentryInitWithSdkImport(js: string, { dsn }: {
dsn: string;
}): string;
export declare function doesJsCodeIncludeSdkSentryImport(js: string, { sdkPackageName }: {
sdkPackageName: string;
}): boolean;
export declare function getSentryInitColoredCodeSnippet(dsn: string): string;
export declare function getSentryInitPlainTextSnippet(dsn: string): string;