Adjust derive definitions for no reexport of types (#5536)

* Adjust derive definitions for no reexport of types

* Additional for hasProposals
This commit is contained in:
Jaco
2023-03-11 17:49:27 +02:00
committed by GitHub
parent 60652cdf22
commit 84621a26cb
11 changed files with 40 additions and 45 deletions
@@ -3,10 +3,6 @@
import { hasProposals as collectiveHasProposals, members as collectiveMembers, prime as collectivePrime, proposal as collectiveProposal, proposalCount as collectiveProposalCount, proposalHashes as collectiveProposalHashes, proposals as collectiveProposals } from '../collective/index.js';
// We are re-exporting these from here to ensure that *.d.ts generation is correct
export type { u32 } from '@polkadot/types';
export type { AccountId } from '@polkadot/types/interfaces';
export const members = /*#__PURE__*/ collectiveMembers('allianceMotion');
export const hasProposals = /*#__PURE__*/ collectiveHasProposals('allianceMotion');