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:
@@ -3,7 +3,7 @@
|
||||
|
||||
import type { DeriveCustom } from '@polkadot/api-base/types';
|
||||
import type { AnyFunction, AnyString } from '@polkadot/types/types';
|
||||
import type { ExactDerive } from './derive';
|
||||
import type { ExactDerive } from './derive.js';
|
||||
import type { DeriveApi } from './types.js';
|
||||
|
||||
import { lazyDeriveSection } from './util/index.js';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { SignedBlockExtended } from '../type/types';
|
||||
import type { SignedBlockExtended } from '../type/types.js';
|
||||
import type { DeriveApi } from '../types.js';
|
||||
|
||||
import { switchMap } from 'rxjs';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { HeaderExtended } from '../type/types';
|
||||
import type { HeaderExtended } from '../type/types.js';
|
||||
import type { DeriveApi } from '../types.js';
|
||||
|
||||
import { combineLatest, map, of, switchMap } from 'rxjs';
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { AccountId, Balance, EraIndex, RewardPoint } from '@polkadot/types/interfaces';
|
||||
import type { PalletStakingExposure, PalletStakingRewardDestination, PalletStakingStakingLedger, PalletStakingValidatorPrefs } from '@polkadot/types/lookup';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { DeriveSessionIndexes } from '../session/types';
|
||||
import type { DeriveSessionIndexes } from '../session/types.js';
|
||||
|
||||
export type DeriveEraValPoints = Record<string, RewardPoint>;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
import type { Observable } from 'rxjs';
|
||||
import type { ObsInnerType } from '@polkadot/api-base/types';
|
||||
import type { EraIndex } from '@polkadot/types/interfaces';
|
||||
import type { ExactDerive } from '../derive';
|
||||
import type { ExactDerive } from '../derive.js';
|
||||
import type { DeriveApi } from '../types.js';
|
||||
|
||||
import { BehaviorSubject, combineLatest, map, of, switchMap, tap, toArray } from 'rxjs';
|
||||
|
||||
@@ -6,7 +6,7 @@ import type { u32 } from '@polkadot/types';
|
||||
import type { Balance, BlockNumber, BountyIndex, Hash, Proposal, ProposalIndex, SetIndex, Votes } from '@polkadot/types/interfaces';
|
||||
import type { PalletBountiesBounty, PalletTreasuryProposal } from '@polkadot/types/lookup';
|
||||
import type { BN } from '@polkadot/util';
|
||||
import type { ExactDerive } from './derive';
|
||||
import type { ExactDerive } from './derive.js';
|
||||
|
||||
export * from './accounts/types.js';
|
||||
export * from './balances/types.js';
|
||||
|
||||
Reference in New Issue
Block a user