Derived elections member type (#1147)
* elections * headers * lint * lint * lint * lint * fixes * lint * voterSets * derived elections member type * lint
This commit is contained in:
@@ -29,7 +29,7 @@ export function voters (api: ApiInterfaceRx): () => Observable<Vector<AccountId>
|
||||
new Vector(
|
||||
AccountId,
|
||||
Object.keys(voterSets).map(
|
||||
address => new AccountId(address)
|
||||
(address: string): AccountId => new AccountId(address)
|
||||
)
|
||||
)
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user