Commit a3105115 by Ryan McKinley Committed by GitHub

Circular vector: improve generics (#30375)

parent 2096d25f
......@@ -15,7 +15,7 @@ interface CircularOptions<T> {
* This supports adding to the 'head' or 'tail' and will grow the buffer
* to match a configured capacity.
*/
export class CircularVector<T = any> extends FunctionalVector implements MutableVector<T> {
export class CircularVector<T = any> extends FunctionalVector<T> implements MutableVector<T> {
private buffer: T[];
private index: number;
private capacity: number;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment