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:
Jaco
2023-03-09 20:10:53 +02:00
committed by GitHub
parent 9ac9d72082
commit 611ff12a3d
56 changed files with 145 additions and 130 deletions
+1 -1
View File
@@ -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>;
+1 -1
View File
@@ -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';