Expand bool & Enum generation (#1785)

* Expand bool & Enum generation

* Swap consts to Augmented (align with others)
This commit is contained in:
Jaco Greeff
2020-02-01 11:16:27 +01:00
committed by GitHub
parent ac2a7eea67
commit 89d029eca3
8 changed files with 206 additions and 201 deletions
+2
View File
@@ -6,6 +6,8 @@ import { StorageEntry } from '@polkadot/types/primitive/StorageKey';
import { Codec } from '@polkadot/types/types';
import { ModuleConstantMetadataLatest } from '@polkadot/types/interfaces';
export type AugmentedConst<T extends Codec> = T & ConstantCodec;
export interface ConstantCodec extends Codec {
meta: ModuleConstantMetadataLatest;
}