Skip to content

Commit

Permalink
Fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Shvandre authored Nov 27, 2024
1 parent 2bf38c7 commit bb94460
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/bindings/writeTypescript.ts
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ export function writeTypescript(
});
}
});
w.append(`};`);
w.append(`}`);
w.append();

//map <int, Error> to generate ABI later.
Expand All @@ -213,12 +213,12 @@ export function writeTypescript(
if (abi.errors) {
Object.entries(abi.errors).forEach(([k, abiError]) => {
w.append(
` ${k}: { message: \`${abiError.message.replaceAll("`", "\\`")}\` },`,
`${k}: { message: \`${abiError.message.replaceAll("`", "\\`")}\` },`,
);
});
}
});
w.append(`};`);
w.append(`}`);
w.append();

// Types
Expand Down

0 comments on commit bb94460

Please sign in to comment.