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
@@ -1,9 +1,9 @@
// Copyright 2017-2023 @polkadot/rpc-provider authors & contributors
// SPDX-License-Identifier: Apache-2.0
import { isFunction } from '@polkadot/util';
import type { RpcErrorInterface } from '../types.js';
import { RpcErrorInterface } from '../types.js';
import { isFunction } from '@polkadot/util';
const UNKNOWN = -99999;
+1 -1
View File
@@ -4,9 +4,9 @@
/// <reference types="@polkadot/dev-test/globals.d.ts" />
import type { Request } from '../mock/mockWs.js';
import type { Global, Mock } from '../mock/types.js';
import { mockWs } from '../mock/mockWs.js';
import { Global, Mock } from '../mock/types.js';
import { WsProvider } from './index.js';
declare const global: Global;