git.delta.rocks / unique-network / refs/commits / 01e7dd26f22d

difftreelog

style fix tslint warnings

Yaroslav Bolyukin2021-01-26parent: #44f9d3c.patch.diff
in: master

1 file changed

modifiedtests/src/util/helpers.tsdiffbeforeafterboth
254}254}
255255
256export async function findNotExistingCollection(api: ApiPromise): Promise<number> {256export async function findNotExistingCollection(api: ApiPromise): Promise<number> {
257 let collection: number = parseInt((await api.query.nft.createdCollectionCount()).toString()) as unknown as number + 1;257 const totalNumber = parseInt((await api.query.nft.createdCollectionCount()).toString(), 10) as unknown as number;
258 const newCollection: number = totalNumber + 1;
258 return collection;259 return newCollection;
259}260}
260261
261function getDestroyResult(events: EventRecord[]): boolean {262function getDestroyResult(events: EventRecord[]): boolean {