mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Circular vector: improve generics (#30375)
This commit is contained in:
parent
2096d25f9c
commit
a310511571
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user