Skip to content

Commit ef4c06e

Browse files
authored
fix(profiling): Update exports so types generate properly (#12469)
resolves #12468
1 parent 136f496 commit ef4c06e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/profiling-node/src/utils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import * as os from 'os';
33
import type {
44
Client,
55
Context,
6+
ContinuousThreadCpuProfile,
67
DebugImage,
78
DsnComponents,
89
Envelope,
@@ -11,6 +12,7 @@ import type {
1112
Profile,
1213
ProfileChunk,
1314
ProfileChunkEnvelope,
15+
ProfileChunkItem,
1416
SdkInfo,
1517
StackFrame,
1618
StackParser,
@@ -21,8 +23,6 @@ import { GLOBAL_OBJ, createEnvelope, dsnToString, forEachEnvelopeItem, logger, u
2123
import { env, versions } from 'process';
2224
import { isMainThread, threadId } from 'worker_threads';
2325

24-
import type { ProfileChunkItem } from '@sentry/types/build/types/envelope';
25-
import type { ContinuousThreadCpuProfile } from '../../types/src/profiling';
2626
import { DEBUG_BUILD } from './debug-build';
2727
import type { RawChunkCpuProfile, RawThreadCpuProfile } from './types';
2828

packages/types/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ export type {
4646
StatsdEnvelope,
4747
ProfileItem,
4848
ProfileChunkEnvelope,
49+
ProfileChunkItem,
4950
SpanEnvelope,
5051
SpanItem,
5152
} from './envelope';

0 commit comments

Comments
 (0)