mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Circular vector: improve generics (#30375)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user