Skip to content

Commit ab520d6

Browse files
committed
maybe fix ts 3.8 test
1 parent b6e5ea9 commit ab520d6

File tree

2 files changed

+2
-3
lines changed
  • dev-packages/node-core-integration-tests/suites/public-api/beforeSendSpan-streamed
  • packages/core/src/tracing/spans

2 files changed

+2
-3
lines changed

dev-packages/node-core-integration-tests/suites/public-api/beforeSendSpan-streamed/scenario.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@ const client = Sentry.init({
1515
span.attributes = {};
1616
}
1717
span.attributes['sentry.custom_attribute'] = 'customAttributeValue';
18-
// oxlint-disable-next-line typescript/ban-ts-comment
19-
// @ts-expect-error - technically this is something we have to expect, despite types saying it's invalid
18+
// @ts-ignore - technically this is something we have to expect, despite types saying it's invalid
2019
span.status = 'something';
2120
span.links = [
2221
{

packages/core/src/tracing/spans/beforeSendSpan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import type { CoreOptions } from '../../types-hoist/options';
2-
import type { BeforeSendStreamedSpanCallback, ClientOptions } from '../../types-hoist/options';
2+
import type { BeforeSendStreamedSpanCallback } from '../../types-hoist/options';
33
import type { StreamedSpanJSON } from '../../types-hoist/span';
44
import { addNonEnumerableProperty } from '../../utils/object';
55

0 commit comments

Comments
 (0)