We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ed43e3 commit 7156838Copy full SHA for 7156838
packages/core/test/lib/tracing/span.test.ts
@@ -105,6 +105,9 @@ describe('span', () => {
105
it('disallows invalid attribute types', () => {
106
const span = new Span();
107
108
+ /** @ts-expect-error this is invalid */
109
+ span.setAttribute('str', {});
110
+
111
/** @ts-expect-error this is invalid */
112
span.setAttribute('str', null);
113
0 commit comments