From 1bb07c8254639a1dbd6d5d39d629cbbce4530181 Mon Sep 17 00:00:00 2001 From: Lukas Stracke Date: Mon, 23 Oct 2023 17:22:00 +0200 Subject: [PATCH] fix(astro): Add integration default export to types entry point --- packages/astro/src/index.types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/astro/src/index.types.ts b/packages/astro/src/index.types.ts index e8ff7457f597..d1d04f3a4bb8 100644 --- a/packages/astro/src/index.types.ts +++ b/packages/astro/src/index.types.ts @@ -10,6 +10,7 @@ import type { Integration, Options, StackParser } from '@sentry/types'; import type * as clientSdk from './index.client'; import type * as serverSdk from './index.server'; +import sentryAstro from './index.server'; /** Initializes Sentry Astro SDK */ export declare function init(options: Options | clientSdk.BrowserOptions | serverSdk.NodeOptions): void; @@ -23,3 +24,5 @@ export declare const defaultStackParser: StackParser; export declare function close(timeout?: number | undefined): PromiseLike; export declare function flush(timeout?: number | undefined): PromiseLike; export declare function lastEventId(): string | undefined; + +export default sentryAstro;