Skip to content

Commit

Permalink
Update types (#4070)
Browse files Browse the repository at this point in the history
* Improve index.d.ts for NodeNext

* Updates typedoc and rewrites types to work correctly with NodeNext

Fixes #3937
Fixes #4035

---------

Co-authored-by: Ben Asher <[email protected]>
  • Loading branch information
2 people authored and uurien committed Mar 5, 2024
1 parent 978cac0 commit 972a695
Show file tree
Hide file tree
Showing 4 changed files with 1,501 additions and 1,491 deletions.
2 changes: 1 addition & 1 deletion docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0",
"main": "typedoc.js",
"scripts": {
"build": "typedoc",
"build": "typedoc ../index.d.ts",
"pretest": "tsc -p . && tsc test",
"test": "node test"
},
Expand Down
4 changes: 2 additions & 2 deletions docs/typedoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ module.exports = {
excludeExternals: true,
excludePrivate: true,
excludeProtected: true,
includeDeclarations: true,
mode: 'file',
// includeDeclarations: true,
// mode: 'file',
name: 'dd-trace',
out: 'out',
readme: 'API.md'
Expand Down
6 changes: 3 additions & 3 deletions docs/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ handlebars@^4.7.6:
uglify-js "^3.1.4"

hasown@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.0.tgz#f4c513d454a57b7c7e1650778de226b11700546c"
integrity sha512-vUptKVTpIJhcczKBbgnS+RtcuYMB8+oNzPK2/Hp3hanz8JmpATdmmgLgSaadVREkDm+e2giHwY3ZRkyjSIDDFA==
version "2.0.1"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.1.tgz#26f48f039de2c0f8d3356c223fb8d50253519faa"
integrity sha512-1/th4MHjnwncwXsIW6QMzlvYL9kG5e/CpVvLRZe4XPa8TOUNbCELqmvhDmnkNsAjwaG4+I8gJJL0JBvTTLO9qA==
dependencies:
function-bind "^1.1.2"

Expand Down
Loading

0 comments on commit 972a695

Please sign in to comment.