• Type Parameters

    • TI
    • I extends Iterable<TI>
    • TO = TI
    • O = I

    Parameters

    • props: {
          $el: Shape<TI, TO>;
          assert: ((this: Shape<I, O>, assert: AssertState) => void);
          calcLength: ((iterable: I) => number);
          rehydrate: ((iterable: Iterable<TO>) => O);
      }
      • $el: Shape<TI, TO>
      • assert: ((this: Shape<I, O>, assert: AssertState) => void)
      • calcLength: ((iterable: I) => number)
          • (iterable): number
          • Parameters

            • iterable: I

            Returns number

      • rehydrate: ((iterable: Iterable<TO>) => O)
          • (iterable): O
          • Parameters

            • iterable: Iterable<TO>

            Returns O

    Returns $.Shape<I, O>