Skip to content

Commit a410b04

Browse files
authored
fix(astro): Add integration default export to types entry point (#9337)
Adds the @sentry/astro package's default export (i.e. the `sentryAstro` integration) to the types entry poin
1 parent 8e603b5 commit a410b04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

packages/astro/src/index.types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ import type { Integration, Options, StackParser } from '@sentry/types';
1010

1111
import type * as clientSdk from './index.client';
1212
import type * as serverSdk from './index.server';
13+
import sentryAstro from './index.server';
1314

1415
/** Initializes Sentry Astro SDK */
1516
export declare function init(options: Options | clientSdk.BrowserOptions | serverSdk.NodeOptions): void;
@@ -23,3 +24,5 @@ export declare const defaultStackParser: StackParser;
2324
export declare function close(timeout?: number | undefined): PromiseLike<boolean>;
2425
export declare function flush(timeout?: number | undefined): PromiseLike<boolean>;
2526
export declare function lastEventId(): string | undefined;
27+
28+
export default sentryAstro;

0 commit comments

Comments
 (0)