diff options
author | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2018-09-20 02:56:13 +0200 |
commit | bbff7403fbf46f9ad92240ac213df8d30ef31b64 (patch) | |
tree | c58400ec5124da1c7d56b01aea83309f80a56c3b /node_modules/hash.js/lib | |
parent | 003fb34971cf63466184351b4db5f7c67df4f444 (diff) |
update packages
Diffstat (limited to 'node_modules/hash.js/lib')
-rw-r--r-- | node_modules/hash.js/lib/hash.d.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/node_modules/hash.js/lib/hash.d.ts b/node_modules/hash.js/lib/hash.d.ts index 2994a75ed..abbb5c531 100644 --- a/node_modules/hash.js/lib/hash.d.ts +++ b/node_modules/hash.js/lib/hash.d.ts @@ -1,7 +1,7 @@ declare var hash: Hash; declare module "hash.js" { - export default hash; + export = hash; } interface BlockHash<T> { @@ -14,7 +14,8 @@ interface MessageDigest<T> { blockSize: number outSize: number update(msg: any, enc?: 'hex'): T - digest(enc?: 'hex'): T + digest(): number[] + digest(enc: 'hex'): string } interface Hash { |