From d720448965737e1d19437e08dba4b8cb42404bbf Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Mon, 2 Oct 2023 23:56:01 +0200 Subject: [PATCH] chore: replace any type --- src/lib/util.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/util.ts b/src/lib/util.ts index 3fa6434..44c977c 100755 --- a/src/lib/util.ts +++ b/src/lib/util.ts @@ -43,7 +43,7 @@ function cmpBytes(arr: Uint8Array, offset: number, test: number[]): boolean { return true; } -function printTable(name: string, table: any): void { +function printTable(name: string, table: Record): void { Log.log(`${name}:`); for (const key in table) { Log.log(`\t${key}: ${table[key] ? ('' + table[key]).replace(/\n/g, '\n\t\t') : 'undefined'}`);