Type alias initContainer<T>

initContainer<T>: {
    forEach: ((callback: ((el: T) => void)) => void);
    size?: number | (() => number);
    length?: number;
}

Description

The initial data type passed in when initializing the container.

Type Parameters

  • T

Type declaration

  • forEach: ((callback: ((el: T) => void)) => void)
      • (callback: ((el: T) => void)): void
      • Parameters

        • callback: ((el: T) => void)
            • (el: T): void
            • Parameters

              • el: T

              Returns void

        Returns void

  • Optional size?: number | (() => number)
  • Optional length?: number

Generated using TypeDoc