Expand bool & Enum generation (#1785)
* Expand bool & Enum generation * Swap consts to Augmented (align with others)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user