@traversable/schema
    Preparing search index...
    interface union<S> {
        toJsonSchema(): {
            anyOf: {
                [I in string
                | number
                | symbol]: Returns<S[I]["toJsonSchema" & keyof S[I]]>
            };
        };
    }

    Type Parameters

    • S
    Index

    Methods

    Methods

    • Returns {
          anyOf: {
              [I in string | number | symbol]: Returns<
                  S[I]["toJsonSchema" & keyof S[I]],
              >
          };
      }