Add ISize type (same as USize, not-to-be used) (#5556)

This commit is contained in:
Jaco
2023-03-23 10:58:38 +02:00
committed by GitHub
parent 1cbbe3bb12
commit 3b9d03bb2e
22 changed files with 125 additions and 19 deletions
@@ -6,7 +6,7 @@
import '@polkadot/types/types/registry';
import type { Data, StorageKey } from '@polkadot/types';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { BitVec, Bool, Bytes, F32, F64, I128, I16, I256, I32, I64, I8, ISize, Json, Null, OptionBool, Raw, Text, Type, U128, U16, U256, U32, U64, U8, USize, bool, f32, f64, i128, i16, i256, i32, i64, i8, isize, u128, u16, u256, u32, u64, u8, usize } from '@polkadot/types-codec';
import type { AssetApproval, AssetApprovalKey, AssetBalance, AssetDestroyWitness, AssetDetails, AssetMetadata, TAssetBalance, TAssetDepositBalance } from '@polkadot/types/interfaces/assets';
import type { BlockAttestations, IncludedBlocks, MoreAttestations } from '@polkadot/types/interfaces/attestations';
import type { RawAuraPreDigest } from '@polkadot/types/interfaces/aura';
@@ -549,6 +549,8 @@ declare module '@polkadot/types/types/registry' {
I64: I64;
i8: i8;
I8: I8;
isize: isize;
ISize: ISize;
IdentificationTuple: IdentificationTuple;
IdentityFields: IdentityFields;
IdentityInfo: IdentityInfo;