X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcircular-array.ts;h=cc58d8ace71f01f721d1798924b83d359ddc1dec;hb=153179f2d97a4fc3b9afb31ad8875d416414e484;hp=bb958d8287519acf91efc4c7a1468fe422da0a86;hpb=1b6e07ba4d366d3ef1df94a44361010e928f279a;p=poolifier.git diff --git a/src/circular-array.ts b/src/circular-array.ts index bb958d82..cc58d8ac 100644 --- a/src/circular-array.ts +++ b/src/circular-array.ts @@ -1,9 +1,12 @@ // Copyright Jerome Benoit. 2021-2023. All Rights Reserved. -const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024 +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 extends Array { public size: number