Few missing type imports (#2972)
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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,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;
|
||||
|
||||
Reference in New Issue
Block a user