Skip to content

Commit 4e87368

Browse files
committed
ref: Export EventType type
1 parent 5f3b7cd commit 4e87368

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

packages/hub/test/hub.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
/* eslint-disable @typescript-eslint/unbound-method */
22
/* eslint-disable deprecation/deprecation */
33

4-
import { Client, Event } from '@sentry/types';
5-
import { EventType } from '@sentry/types/build/types/event';
4+
import { Client, Event, EventType } from '@sentry/types';
65

76
import { getCurrentHub, Hub, Scope } from '../src';
87

packages/types/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export type {
2525
UserFeedbackItem,
2626
} from './envelope';
2727
export type { ExtendedError } from './error';
28-
export type { Event, EventHint, ErrorEvent, TransactionEvent } from './event';
28+
export type { Event, EventHint, EventType, ErrorEvent, TransactionEvent } from './event';
2929
export type { EventProcessor } from './eventprocessor';
3030
export type { Exception } from './exception';
3131
export type { Extra, Extras } from './extra';

0 commit comments

Comments
 (0)