import type BN (as applicable) (#2262)
This commit is contained in:
@@ -28,15 +28,15 @@
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.9.6",
|
||||
"@polkadot/metadata": "1.14.0-beta.6",
|
||||
"@polkadot/util": "^2.10.0-beta.3",
|
||||
"@polkadot/util-crypto": "^2.10.0-beta.3",
|
||||
"@polkadot/util": "^2.10.0-beta.5",
|
||||
"@polkadot/util-crypto": "^2.10.0-beta.5",
|
||||
"@types/bn.js": "^4.11.6",
|
||||
"bn.js": "^5.1.1",
|
||||
"memoizee": "^0.4.14",
|
||||
"rxjs": "^6.5.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@polkadot/keyring": "^2.10.0-beta.3",
|
||||
"@polkadot/keyring": "^2.10.0-beta.5",
|
||||
"@types/memoizee": "^0.4.4"
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3,13 +3,12 @@
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
/* eslint-disable @typescript-eslint/interface-name-prefix */
|
||||
|
||||
import type BN from 'bn.js';
|
||||
import { SignOptions } from '@polkadot/keyring/types';
|
||||
import { Hash } from '../interfaces/runtime';
|
||||
import { FunctionMetadataLatest } from '../interfaces/metadata';
|
||||
import { ArgsDef, Codec } from './codec';
|
||||
|
||||
import BN from 'bn.js';
|
||||
|
||||
export interface ICompact<T> extends Codec {
|
||||
toBn (): BN;
|
||||
toNumber (): number;
|
||||
|
||||
@@ -2,13 +2,13 @@
|
||||
// This software may be modified and distributed under the terms
|
||||
// of the Apache-2.0 license. See the LICENSE file for details.
|
||||
|
||||
import type BN from 'bn.js';
|
||||
|
||||
import { ChainProperties } from '../interfaces/system';
|
||||
import { CallFunction } from './calls';
|
||||
import { Codec, Constructor } from './codec';
|
||||
import { AnyJson } from './helpers';
|
||||
|
||||
import BN from 'bn.js';
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-empty-interface
|
||||
export interface InterfaceTypes { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user