Type alias SoapSchemaElementType<T, TypeDict, N>

SoapSchemaElementType<T, TypeDict, N>: T extends readonly ["?", any]
    ? SoapSchemaElementType<T[1], TypeDict, N>[] | null | undefined
    : T extends readonly [any]
        ? SoapSchemaElementType<T[0], TypeDict, N>[]
        : T extends readonly any[]
            ? SoapSchemaElementType<T[number], TypeDict, N>[]
            : T extends {
                    ?: {
                        [key: string]: any;
                    };
                }
                ? PartialForUndefined<{
                    [K in keyof T["?"]]: SoapSchemaElementType<T["?"][K], TypeDict, N>
                }> | null | undefined
                : T extends {
                        [key: string]: any;
                    }
                    ? PartialForUndefined<{
                        [K in keyof T]: SoapSchemaElementType<T[K], TypeDict, N>
                    }>
                    : T extends "string"
                        ? string
                        : T extends "number"
                            ? number
                            : T extends "boolean"
                                ? boolean
                                : T extends "any"
                                    ? any
                                    : T extends "?string"
                                        ? (...) | (...) | (...)
                                        : (...) extends (...)
                                            ? (...)
                                            : (...)

Type Parameters

  • T extends SoapSchema
  • TypeDict extends SchemaTypeDict = SchemaTypeDict
  • N extends string = ""