Few missing type imports (#2972)

This commit is contained in:
Jaco Greeff
2020-12-21 19:29:22 +01:00
committed by GitHub
parent 4f57a5a611
commit 757d45b39e
5 changed files with 13 additions and 14 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
// Copyright 2017-2020 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { FunctionMetadataLatest } from '../interfaces/metadata';
import { Call } from '../interfaces/runtime';
import type { FunctionMetadataLatest } from '../interfaces/metadata';
import type { Call } from '../interfaces/runtime';
export interface CallBase {
callIndex: Uint8Array;
+6 -6
View File
@@ -1,12 +1,12 @@
// Copyright 2017-2020 @polkadot/types authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { ExtrinsicStatus } from '../interfaces/author';
import { EcdsaSignature, Ed25519Signature, Sr25519Signature } from '../interfaces/extrinsics';
import { Address, Balance, Call, H256, Index } from '../interfaces/runtime';
import { DispatchError, DispatchInfo, EventRecord } from '../interfaces/system';
import { AnyJson, AnyNumber, AnyU8a, Codec } from './codec';
import { ICompact, IKeyringPair, IMethod, IRuntimeVersion } from './interfaces';
import type { ExtrinsicStatus } from '../interfaces/author';
import type { EcdsaSignature, Ed25519Signature, Sr25519Signature } from '../interfaces/extrinsics';
import type { Address, Balance, Call, H256, Index } from '../interfaces/runtime';
import type { DispatchError, DispatchInfo, EventRecord } from '../interfaces/system';
import type { AnyJson, AnyNumber, AnyU8a, Codec } from './codec';
import type { ICompact, IKeyringPair, IMethod, IRuntimeVersion } from './interfaces';
export interface ISubmittableResult {
readonly dispatchError?: DispatchError;
+3 -4
View File
@@ -3,10 +3,9 @@
import type BN from 'bn.js';
import type { SignOptions } from '@polkadot/keyring/types';
import { FunctionMetadataLatest } from '../interfaces/metadata';
import { Hash } from '../interfaces/runtime';
import { ArgsDef, Codec } from './codec';
import type { FunctionMetadataLatest } from '../interfaces/metadata';
import type { Hash } from '../interfaces/runtime';
import type { ArgsDef, Codec } from './codec';
export interface ICompact<T> extends Codec {
toBigInt (): BigInt;