Skip to content

Commit

Permalink
chore: replace any type
Browse files Browse the repository at this point in the history
  • Loading branch information
idleberg committed Oct 2, 2023
1 parent 60d2fe1 commit d720448
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, unknown>): void {
Log.log(`${name}:`);
for (const key in table) {
Log.log(`\t${key}: ${table[key] ? ('' + table[key]).replace(/\n/g, '\n\t\t') : 'undefined'}`);
Expand Down

0 comments on commit d720448

Please sign in to comment.