perf: avoid branching on pool type
[poolifier.git] / src / circular-array.ts
index 8f545179ab2a90feb3d06fec15ee038552a25221..cc58d8ace71f01f721d1798924b83d359ddc1dec 100644 (file)
@@ -5,6 +5,7 @@ export const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024
 /**
  * Array with a maximum length and shifting items when full.
  *
+ * @typeParam T - Type of items.
  * @internal
  */
 export class CircularArray<T> extends Array<T> {