Skip to content

Commit

Permalink
feat(instr-tedious): support tedious@18 (#2381)
Browse files Browse the repository at this point in the history
tedious@18 adds its own .d.ts files. Compiling with them requires
TypeScript v5, and either target:'es2022' for 'AggregateError'
or using skipLibCheck:true in tsconfig.json.

This change limits the update to TypeScript v5 to just while
testing tedious@18 via test-all-versions' support for
'peerDependencies'.

THis also drops ts-mocha in favour of 'mocha --require ts-node/register'
as was done on opentelemetry-js.git in open-telemetry/opentelemetry-js#4840

Closes: #2266
  • Loading branch information
trentm authored Aug 19, 2024
1 parent b169191 commit 0e9791a
Show file tree
Hide file tree
Showing 8 changed files with 287 additions and 24 deletions.
247 changes: 243 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0e9791a

Please sign in to comment.