1
0
mirror of synced 2025-11-08 21:07:23 +00:00

docs(typedoc): hide browser createHash function from TypeDoc, add description

This commit is contained in:
Jason Dreyzehner
2017-02-28 23:25:06 -05:00
parent b3084d12e5
commit 1111ba297e
2 changed files with 6 additions and 1 deletions

View File

@@ -2,6 +2,11 @@
// https://github.com/rollup/rollup-plugin-commonjs/issues/105#issuecomment-281917166
import hash from 'hash.js'
/**
* Simulate the Node.js crypto.createHash function using hash.js' implementation.
* @internal
* @hidden (TypeDoc currently doesn't understand @internal)
*/
export function createHash (algorithm: 'sha256') {
return hash.sha256()
}