Extend SignerPayload with constructor cast (#1302)

This commit is contained in:
Jaco Greeff
2019-08-13 14:10:08 +02:00
committed by GitHub
parent 094141e633
commit 9e61debf45
5 changed files with 19 additions and 14 deletions
@@ -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);
/**