Skip to content

Commit 39e43ff

Browse files
committed
Fix types
1 parent 013d3cc commit 39e43ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/bundler-plugin-core/src/build-plugin-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export function createSentryBuildPluginManager(
127127
/**
128128
* E.g. `5` for webpack v5 or `4` for Rollup v4
129129
*/
130-
buildToolMajorVersion: string | undefined;
130+
buildToolMajorVersion?: string;
131131
/**
132132
* E.g. `[sentry-webpack-plugin]` or `[@sentry/nextjs]`
133133
*/

packages/bundler-plugin-core/src/sentry/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ export function setTelemetryDataOnScope(
6666
options: NormalizedOptions,
6767
scope: Scope,
6868
buildTool: string,
69-
buildToolMajorVersion: string | undefined
69+
buildToolMajorVersion?: string
7070
): void {
7171
const { org, project, release, errorHandler, sourcemaps, reactComponentAnnotation } = options;
7272

0 commit comments

Comments
 (0)