Fix api.derive.collective (#1711)
* fix api.derive.collective * imports * Update proposals.ts Co-authored-by: Jaco Greeff <jacogr@gmail.com>
This commit is contained in:
committed by
Jaco Greeff
co-authored by
Jaco Greeff
parent
e762746ff0
commit
64ff226535
@@ -59,7 +59,7 @@ function injectFunctions<AllSections> (api: ApiInterfaceRx, allSections: AllSect
|
||||
}, {} as DeriveAllSections<AllSections>);
|
||||
}
|
||||
|
||||
export const derive = { accounts, balances, chain, contracts, council, democracy, elections, imOnline, session, technicalCommittee, staking, treasury };
|
||||
export const derive = { accounts, balances, chain, contracts, council, democracy, elections, imOnline, session, staking, technicalCommittee, treasury };
|
||||
export type ExactDerive = DeriveAllSections<typeof derive>;
|
||||
|
||||
// FIXME The return type of this function should be {...ExactDerive, ...DeriveCustom}
|
||||
|
||||
Reference in New Issue
Block a user