From 1ab03f9bed2d7e79bfada618e1156b03d3027308 Mon Sep 17 00:00:00 2001 From: Valtteri Karesto Date: Mon, 28 Mar 2022 15:22:10 +0300 Subject: [PATCH] Fix types --- state/actions/deployHook.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/state/actions/deployHook.ts b/state/actions/deployHook.ts index 792ab44..d5196ce 100644 --- a/state/actions/deployHook.ts +++ b/state/actions/deployHook.ts @@ -15,7 +15,7 @@ const hash = async (string: string) => { return hashHex; } -function toHex(str) { +function toHex(str: string) { var result = ''; for (var i = 0; i < str.length; i++) { result += str.charCodeAt(i).toString(16);