From 07cb36e77ed01eff8e774b2ba2170e8a8d0f6aac Mon Sep 17 00:00:00 2001 From: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> Date: Thu, 3 Mar 2022 10:59:00 -0800 Subject: [PATCH] fix: BWOptions.interval accepts number|string fix #3985 --- packages/ipfs-core-types/src/stats/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ipfs-core-types/src/stats/index.ts b/packages/ipfs-core-types/src/stats/index.ts index 43e5f24401..dfd300b2c5 100644 --- a/packages/ipfs-core-types/src/stats/index.ts +++ b/packages/ipfs-core-types/src/stats/index.ts @@ -16,7 +16,7 @@ export interface BWOptions extends AbortOptions { peer?: string proto?: string poll?: boolean - interval?: number + interval?: number | string } export interface BWResult {