difftreelog
fix remove cyclic imports
in: master
4 files changed
tests/src/eth/util/playgrounds/types.tsdiffbeforeafterboth--- a/tests/src/eth/util/playgrounds/types.ts
+++ b/tests/src/eth/util/playgrounds/types.ts
@@ -1,5 +1,3 @@
-import {EthUniqueHelper} from './unique.dev';
-
export interface ContractImports {
solPath: string;
fsPath: string;
@@ -15,5 +13,3 @@
event: string,
args: { [key: string]: string }
};
-
-export type EthUniqueHelperConstructor = new (...args: any[]) => EthUniqueHelper;
tests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- a/tests/src/eth/util/playgrounds/unique.dev.ts
+++ b/tests/src/eth/util/playgrounds/unique.dev.ts
@@ -18,7 +18,7 @@
import {DevUniqueHelper} from '../../../util/playgrounds/unique.dev';
-import {ContractImports, CompiledContract, NormalizedEvent, EthUniqueHelperConstructor} from './types';
+import {ContractImports, CompiledContract, NormalizedEvent} from './types';
// Native contracts ABI
import collectionHelpersAbi from '../../collectionHelpersAbi.json';
tests/src/util/playgrounds/types.tsdiffbeforeafterboth2// SPDX-License-Identifier: Apache-2.02// SPDX-License-Identifier: Apache-2.0334import {IKeyringPair} from '@polkadot/types/types';4import {IKeyringPair} from '@polkadot/types/types';5import {UniqueHelper} from './unique';657export interface IEvent {6export interface IEvent {8 section: string;7 section: string;tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -2772,6 +2772,8 @@
}
}
+export type UniqueHelperConstructor = new(...args: any[]) => UniqueHelper;
+
// eslint-disable-next-line @typescript-eslint/naming-convention
function ScheduledUniqueHelper<T extends UniqueHelperConstructor>(Base: T) {
return class extends Base {