X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcircular-array.ts;h=40bd19ae0fc74742380979fe05712a5e962251c6;hb=f63a9dda55a5f7a3a0dd8f173dbdeca72654369d;hp=654abb656da74bac380372cb39341aa9f2f831c5;hpb=41aa7dcd8bbc5ff5a5aefe8765fe8a7c57d6be00;p=poolifier.git diff --git a/src/circular-array.ts b/src/circular-array.ts index 654abb65..40bd19ae 100644 --- a/src/circular-array.ts +++ b/src/circular-array.ts @@ -17,7 +17,7 @@ export class CircularArray extends Array { } } - /** @inheritdoc */ + /** @inheritDoc */ public push (...items: T[]): number { const length = super.push(...items) if (length > this.size) { @@ -26,7 +26,7 @@ export class CircularArray extends Array { return this.length } - /** @inheritdoc */ + /** @inheritDoc */ public unshift (...items: T[]): number { const length = super.unshift(...items) if (length > this.size) { @@ -35,7 +35,7 @@ export class CircularArray extends Array { return this.length } - /** @inheritdoc */ + /** @inheritDoc */ public concat (...items: Array>): CircularArray { const concatenatedCircularArray = super.concat( items as T[] @@ -50,7 +50,7 @@ export class CircularArray extends Array { return concatenatedCircularArray } - /** @inheritdoc */ + /** @inheritDoc */ public splice (start: number, deleteCount?: number, ...items: T[]): T[] { let itemsRemoved: T[] if (arguments.length >= 3 && deleteCount !== undefined) {