Move type-only imports (w/ verbatimModuleSyntax) (#5574)

This commit is contained in:
Jaco
2023-04-02 09:53:37 +03:00
committed by GitHub
parent 9a92089810
commit 186cfc93b5
24 changed files with 55 additions and 47 deletions
+2 -2
View File
@@ -7,14 +7,14 @@
/* eslint-disable @typescript-eslint/no-unsafe-call */
/* eslint-disable @typescript-eslint/restrict-template-expressions */
import type { ExactDerive } from './index.js';
import { from, Observable } from 'rxjs';
import { ApiRx } from '@polkadot/api';
import { MockProvider } from '@polkadot/rpc-provider/mock';
import { TypeRegistry } from '@polkadot/types/create';
import { ExactDerive } from './index.js';
const testFunction = (api: ApiRx): any => {
return <S extends keyof ExactDerive, M extends keyof (typeof api.derive[S])>(section: S, method: M, inputs: any[]): void => {
describe(`derive.${section}.${method as string}`, (): void => {