Align tsconfig to allow moduleResolution: nodenext (#5530)
* Align tsconfig to allow moduleResolution: nodenext * Small adjustments (revert nodenext req. changes) * Adjust for current compilation * Read metadata compare from file * Adjust * Fix assertions
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
// FIXME A number of tests here, that were passing, is not skipped since
|
||||
// Jest has "some" issues with `await import` - we don't transform these
|
||||
|
||||
import type Sc from '@substrate/connect';
|
||||
import type * as Sc from '@substrate/connect';
|
||||
import type { HealthChecker, SmoldotHealth } from './types.js';
|
||||
|
||||
import { ScProvider } from './index.js';
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
// Copyright 2017-2023 @polkadot/rpc-provider authors & contributors
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type ScType from '@substrate/connect';
|
||||
import type * as ScType from '@substrate/connect';
|
||||
import type { JsonRpcResponse, ProviderInterface, ProviderInterfaceCallback, ProviderInterfaceEmitCb, ProviderInterfaceEmitted } from '../types.js';
|
||||
|
||||
import EventEmitter from 'eventemitter3';
|
||||
import { EventEmitter } from 'eventemitter3';
|
||||
|
||||
import { isError, isFunction, isObject, logger, objectSpread } from '@polkadot/util';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user