Skip to content

Commit 7a4f9d4

Browse files
authored
fix: include types/readable-stream as a dependency (#111)
The type definitions for the Metrics client are incomplete without this dependency, and the fix is hard to identify from the error messages. This is technically not a runtime dependency, and affects only a subset of our users, but this makes the module much easier to consume as TypeScript and/or JSDoc typechecking users.
1 parent 53584b4 commit 7a4f9d4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
],
2727
"dependencies": {
2828
"@metrics/metric": "^2.3.2",
29+
"@types/readable-stream": "^4.0.0",
2930
"readable-stream": "^3.4.0",
3031
"time-span": "^4.0.0"
3132
},

0 commit comments

Comments
 (0)