Make derive types work, and a bit more readable (#1430)
* Fix typings for derive * Fix typings * Spacing
This commit is contained in:
@@ -53,7 +53,7 @@ function calcBalances ([accountId = createType('AccountId'), bestNumber = create
|
||||
reservedBalance,
|
||||
vestedBalance,
|
||||
votingBalance: freeBalance.add(reservedBalance)
|
||||
} as unknown as DerivedBalances;
|
||||
} as DerivedBalances;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user