Type alias DynamicArgTypeByClass<T>

DynamicArgTypeByClass<T>: T extends types.IDL.RecordClass
    ? RecordArg<T>
    : T extends types.IDL.TupleClass<types.IDL.Type[]>
        ? TupleArg<T>
        : T extends types.IDL.VariantClass
            ? VariantArg<T>
            : T extends types.IDL.VecClass<types.IDL.Type>
                ? VectorArg
                : T extends types.IDL.OptClass<types.IDL.Type>
                    ? OptionalArg
                    : T extends types.IDL.RecClass<types.IDL.Type>
                        ? RecursiveArg
                        : T extends types.IDL.PrincipalClass
                            ? PrincipalArg
                            : T extends AllNumberTypes
                                ? NumberArg
                                : InputArg<T>

Type Parameters