From a223ffdcc09367ac63a25763052d1ce6bb79668a Mon Sep 17 00:00:00 2001 From: ikopeykin Date: Wed, 10 Jul 2019 14:16:09 +0300 Subject: [PATCH] fix typescript for HashContructor --- lib/util/createHash.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/util/createHash.js b/lib/util/createHash.js index bd514eaca..97f4ca49c 100644 --- a/lib/util/createHash.js +++ b/lib/util/createHash.js @@ -28,7 +28,7 @@ class BaseHash { } /** @typedef {BaseHash} Hash */ -/** @typedef {{new(): BaseHash}} HashConstructor */ +/** @typedef {typeof BaseHash} HashConstructor */ /** * @extends {BaseHash}