From 13f1f854ce073e568d63e879be4f7deae483ad28 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Tue, 29 Sep 2020 15:54:05 +0000 Subject: [PATCH] fix(core): update --- ts/nodehash.sha256.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ts/nodehash.sha256.ts b/ts/nodehash.sha256.ts index 9752792..d738ae6 100644 --- a/ts/nodehash.sha256.ts +++ b/ts/nodehash.sha256.ts @@ -26,7 +26,7 @@ export const sha256FromFile = async (filePath: string): Promise => { /** * Computes sha256 Hash from String synchronously */ -export let sha256FromStringSync = (stringArg): string => { +export const sha256FromStringSync = (stringArg: string): string => { const hash = plugins.crypto.createHash('sha256'); hash.update(stringArg); return hash.digest('hex');