Additional __PURE__ annotations (#1787)

* Additional __PURE__ annotations

* Revert as const (This _could_ yield breaking external changes)
This commit is contained in:
Jaco
2023-03-31 08:08:01 +03:00
committed by GitHub
parent 777b823317
commit 45b040fbf8
11 changed files with 25 additions and 13 deletions
+1 -1
View File
@@ -27,4 +27,4 @@ export function randomAsU8a (length = 32): Uint8Array {
* @name randomAsHex
* @description Creates a hex string filled with random bytes.
*/
export const randomAsHex = createAsHex(randomAsU8a);
export const randomAsHex = /*#__PURE__*/ createAsHex(randomAsU8a);