Skip to content

Commit 5df06c3

Browse files
committed
refactor: use preferred array literal annotation
1 parent ca979f9 commit 5df06c3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/utils/issueRedeem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export function getRequestIdsFromEvents(
6969
eventToFind: AugmentedEvent<ApiTypes, AnyTuple>,
7070
api: ApiPromise
7171
): Hash[] {
72-
const ids = new Array<Hash>();
72+
const ids: Hash[] = [];
7373
for (const { event } of events) {
7474
if (eventToFind.is(event)) {
7575
// the redeem id has type H256 and is the first item of the event data array

0 commit comments

Comments
 (0)