Skip to content
This repository was archived by the owner on Oct 3, 2023. It is now read-only.
This repository was archived by the owner on Oct 3, 2023. It is now read-only.

typescript@3.2.0 update failed plugins and core packages. #279

@mayurkale22

Description

@mayurkale22

Affected packages:

  • opencensus-core
  • opencensus-instrumentation-http
  • opencensus-instrumentation-https
  • opencensus-instrumentation-http2
  • opencensus-instrumentation-grpc
  • opencensus-instrumentation-mongodb

Build error: on opencensus-core package

@opencensus/core@0.0.8 prepare opencensus-node/packages/opencensus-core
npm run compile:release

@opencensus/core@0.0.8 compile:release opencensus-node/packages/opencensus-core
tsc -p tsconfig-release.json

src/internal/cls-ah.ts:80:34 - error TS2345: Argument of type 'IArguments' is not assignable to parameter of type 'any[]'.
Type 'IArguments' is missing the following properties from type 'any[]': pop, push, concat, join, and 24 more.

80 const res = cb.apply(this, arguments) as T;
~~~~~~~~~

src/internal/cls-ah.ts:106:20 - error TS2554: Expected 1 arguments, but got 3.

106 return oldMethod.call(this, event, ns.bind(cb));
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 4 errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions