node_modules/dd-trace/index.d.ts:1666:20 - error TS2430: Interface 'import("/usr/src/app/node_modules/dd-trace/index").opentelemetry.TracerProvider' incorrectly extends interface 'import("/usr/src/app/node_modules/@opentelemetry/api/build/src/trace/tracer_provider").TracerProvider'.
The types of 'getTracer(...).startSpan(...).recordException' are incompatible between these types.
Type '(exception: Exception, time?: TimeInput) => void' is not assignable to type '{ (exception: Exception, time?: TimeInput): void; (exception: Exception, attributes?: Attributes, time?: TimeInput): void; }'.
Types of parameters 'time' and 'attributes' are incompatible.
Type 'Attributes' is not assignable to type 'TimeInput'.
Type 'Attributes' is missing the following properties from type 'Date': toDateString, toTimeString, toLocaleDateString, toLocaleTimeString, and 37 more.
1666 export interface TracerProvider extends otel.TracerProvider {
~~~~~~~~~~~~~~
node_modules/dd-trace/index.d.ts:1697:20 - error TS2430: Interface 'import("/usr/src/app/node_modules/dd-trace/index").opentelemetry.Tracer' incorrectly extends interface 'import("/usr/src/app/node_modules/@opentelemetry/api/build/src/trace/tracer").Tracer'.
1697 export interface Tracer extends otel.Tracer {
~~~~~~
node_modules/dd-trace/index.d.ts:1772:20 - error TS2430: Interface 'import("/usr/src/app/node_modules/dd-trace/index").opentelemetry.Span' incorrectly extends interface 'import("/usr/src/app/node_modules/@opentelemetry/api/build/src/trace/span").Span'.
Types of property 'recordException' are incompatible.
Type '(exception: Exception, time?: TimeInput) => void' is not assignable to type '{ (exception: Exception, time?: TimeInput): void; (exception: Exception, attributes?: Attributes, time?: TimeInput): void; }'.
1772 export interface Span extends otel.Span {
~~~~
Found 3 error(s).
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error: The command '/bin/sh -c yarn build' returned a non-zero code: 1
Dependencies