diff options
Diffstat (limited to 'node_modules/hash.js/lib/hash.d.ts')
-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 { |