X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcircular-array.ts;h=cc58d8ace71f01f721d1798924b83d359ddc1dec;hb=153179f2d97a4fc3b9afb31ad8875d416414e484;hp=9cea08bcdd7f09463a2e7eeab323483b1ee676cc;hpb=4bffc0628edc126828fd7262740dc0f2ac94517c;p=poolifier.git diff --git a/src/circular-array.ts b/src/circular-array.ts index 9cea08bc..cc58d8ac 100644 --- a/src/circular-array.ts +++ b/src/circular-array.ts @@ -1,10 +1,11 @@ // 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 {