From 6f3a28e05b902207c43771f6aa67e3621fdb193a Mon Sep 17 00:00:00 2001 From: William Killerud Date: Mon, 4 Nov 2024 12:32:55 +0100 Subject: [PATCH] fix: include types/readable-stream as a dependency 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. --- package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/package.json b/package.json index 9321f76..8017464 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ ], "dependencies": { "@metrics/metric": "^2.3.2", + "@types/readable-stream": "^4.0.0", "readable-stream": "^3.4.0", "time-span": "^4.0.0" },