Skip to content

Commit 6d06745

Browse files
committed
remove unused NonPrimitive type
1 parent 83e4220 commit 6d06745

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

packages/types/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export { Hub } from './hub';
1111
export { Integration, IntegrationClass } from './integration';
1212
export { LogLevel } from './loglevel';
1313
export { Mechanism } from './mechanism';
14-
export { ExtractedNodeRequestData, NonPrimitive, Primitive, WorkerLocation } from './misc';
14+
export { ExtractedNodeRequestData, Primitive, WorkerLocation } from './misc';
1515
export { Options } from './options';
1616
export { Package } from './package';
1717
export { Request, SentryRequest, SentryRequestType } from './request';

packages/types/src/misc.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,3 @@ export interface WorkerLocation {
6161
}
6262

6363
export type Primitive = number | string | boolean | bigint | symbol | null | undefined;
64-
65-
// at eslint's suggestion, not using 'object' because https://github.com/microsoft/TypeScript/issues/21732 is still open
66-
export type NonPrimitive = Record<string, unknown>;

0 commit comments

Comments
 (0)