Type alias initContainer<T>
initContainer<T>: {
forEach: ((callback: ((el: T) => void)) => void);
size?: number | (() => number);
length?: number;
}
Type declaration
-
forEach: ((callback: ((el: T) => void)) => void)
-
- (callback: ((el: T) => void)): void
-
Parameters
-
callback: ((el: T) => void)
-
- (el: T): void
-
Returns void
Returns void
-
Optional
size?: number | (() => number)
-
Optional
length?: number
Description
The initial data type passed in when initializing the container.