Remove duplicated SubmittableSendResult types (#565)

This commit is contained in:
Jaco Greeff
2019-01-11 07:33:37 +01:00
committed by GitHub
parent 9d7caed0ab
commit 48cb2d039e
2 changed files with 2 additions and 14 deletions
+1 -7
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { EventRecord, ExtrinsicStatus, Hash } from '@polkadot/types/index';
import { Hash } from '@polkadot/types/index';
import { Codec } from '@polkadot/types/types';
import { MethodFunction } from '@polkadot/types/Method';
import { StorageFunction } from '@polkadot/types/StorageKey';
@@ -60,9 +60,3 @@ export interface SubmittableExtrinsics {
export interface ApiPromiseInterface extends ApiBaseInterface<DecoratedRpc, QueryableStorage, SubmittableExtrinsics> {
readonly isReady: Promise<ApiPromiseInterface>;
}
export type SubmittableSendResult = {
events?: Array<EventRecord>,
status: ExtrinsicStatus,
type: string
};
+1 -7
View File
@@ -2,7 +2,7 @@
// This software may be modified and distributed under the terms
// of the Apache-2.0 license. See the LICENSE file for details.
import { EventRecord, ExtrinsicStatus, Hash } from '@polkadot/types/index';
import { Hash } from '@polkadot/types/index';
import { Codec } from '@polkadot/types/types';
import { MethodFunction } from '@polkadot/types/Method';
import { StorageFunction } from '@polkadot/types/StorageKey';
@@ -42,9 +42,3 @@ export interface ApiRxInterface extends ApiBaseInterface<RpcRx, QueryableStorage
readonly isConnected: Observable<boolean>;
readonly isReady: Observable<ApiRxInterface>;
}
export type SubmittableSendResult = {
events?: Array<EventRecord>,
status: ExtrinsicStatus,
type: string
};