Skip to content

Commit

Permalink
refactor: use preferred array literal annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
bvotteler committed Nov 22, 2023
1 parent ca979f9 commit 5df06c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/issueRedeem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export function getRequestIdsFromEvents(
eventToFind: AugmentedEvent<ApiTypes, AnyTuple>,
api: ApiPromise
): Hash[] {
const ids = new Array<Hash>();
const ids: Hash[] = [];
for (const { event } of events) {
if (eventToFind.is(event)) {
// the redeem id has type H256 and is the first item of the event data array
Expand Down

0 comments on commit 5df06c3

Please sign in to comment.