Skip to content

TypedApplicationArgs

Algorand TypeScript


Algorand TypeScript / arc4 / TypedApplicationArgs

TypedApplicationArgs<TArgs> = TArgs extends never ? unknown[] : TArgs extends [] ? [] : TArgs extends [infer TArg, ...(infer TRest)] ? readonly [TypedApplicationArg<TArg>, ...TypedApplicationArgs<TRest>] : never

Defined in: arc4/c2c.ts:46

Conditional type which maps a tuple of application arguments to a tuple of input types for specifying those arguments.

TArgs