X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcircular-array.ts;h=cc58d8ace71f01f721d1798924b83d359ddc1dec;hb=ce63d9e2f3d895bd2ae5aafc40769ff4dda3c887;hp=9cea08bcdd7f09463a2e7eeab323483b1ee676cc;hpb=069e56f4a71b48e89eeb1b4b2ccf693b75116f07;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 {