Extend SignerPayload with constructor cast (#1302)
This commit is contained in:
@@ -8,7 +8,7 @@ import { AnyJsonObject, Constructor } from '@polkadot/types/types';
|
||||
import runtimeTypes from '@polkadot/types/interfaces/runtime/definitions';
|
||||
import { Struct } from '@polkadot/types';
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-ignore We can ignore the properties, added via Struct.with
|
||||
const _Header: Constructor<Header> = Struct.with(runtimeTypes.types.Header);
|
||||
|
||||
/**
|
||||
|
||||
@@ -9,7 +9,7 @@ import BN from 'bn.js';
|
||||
import democracyTypes from '@polkadot/types/interfaces/democracy/definitions';
|
||||
import { Struct, createType } from '@polkadot/types';
|
||||
|
||||
// @ts-ignore
|
||||
// @ts-ignore We can ignore the properties, added via Struct.with
|
||||
const _ReferendumInfo: Constructor<ReferendumInfo> = Struct.with(democracyTypes.types.ReferendumInfo);
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user