Skip to content

Commit

Permalink
style: ts record
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelcr committed May 2, 2023
1 parent 5357078 commit 5c27340
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/api/routes/inscriptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import {
} from '../util/helpers';

function blockParam(param: string | undefined, name: string) {
const out: { [k: string]: string } = {};
const out: Record<string, string> = {};
if (BlockHashParamCType.Check(param)) {
out[`${name}_hash`] = param;
} else if (BlockHeightParamCType.Check(param)) {
Expand Down

0 comments on commit 5c27340

Please sign in to comment.