@@ -358,12 +358,12 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
358358 ( this . hasSubscriptions
359359 ? this . _rpcCore . state . subscribeStorage
360360 : this . _rpcCore . state . queryStorageAt ) (
361- calls . map ( ( arg : QueryableStorageMultiArg < ApiType > ) =>
362- Array . isArray ( arg )
363- ? arg [ 0 ] . creator . meta . type . asMap . hashers . length === 1
364- ? [ arg [ 0 ] . creator , arg . slice ( 1 ) ]
365- : [ arg [ 0 ] . creator , ...arg . slice ( 1 ) ]
366- : [ arg . creator ] ) ) ) ;
361+ calls . map ( ( args : QueryableStorageMultiArg < ApiType > ) =>
362+ Array . isArray ( args )
363+ ? args [ 0 ] . creator . meta . type . asMap . hashers . length === 1
364+ ? [ args [ 0 ] . creator , args . slice ( 1 ) ]
365+ : [ args [ 0 ] . creator , ...args . slice ( 1 ) ]
366+ : [ args . creator ] ) ) ) ;
367367 }
368368
369369 protected _decorateExtrinsics < ApiType extends ApiTypes > ( { tx } : DecoratedMeta , decorateMethod : DecorateMethod < ApiType > ) : SubmittableExtrinsics < ApiType > {
@@ -418,7 +418,7 @@ export abstract class Decorate<ApiType extends ApiTypes> extends Events {
418418
419419 private _decorateStorageEntry < ApiType extends ApiTypes > ( creator : StorageEntry , decorateMethod : DecorateMethod < ApiType > ) : QueryableStorageEntry < ApiType > {
420420 // get the storage arguments, with DoubleMap as an array entry, otherwise spread
421- const getArgs = ( args : unknown [ ] ) : unknown [ ] => extractStorageArgs ( this . #registry, creator , args ) ;
421+ const getArgs = ( args : unknown [ ] ) => extractStorageArgs ( this . #registry, creator , args ) ;
422422
423423 // Disable this where it occurs for each field we are decorating
424424 /* eslint-disable @typescript-eslint/no-unsafe-member-access,@typescript-eslint/no-unsafe-assignment */
0 commit comments