Update dependency typescript to v5.7.2 (#93749)
* Update dependency typescript to v5.7.2 * typescript fixes * don't need this change * remaining typescript fixes * remove emotion/react aliasing --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
This commit is contained in:
co-authored by
Ashley Harrison
parent
6b03adbbb0
commit
e0121055fb
@@ -8,7 +8,7 @@ export abstract class FunctionalVector<T = unknown> {
|
||||
abstract get(index: number): T;
|
||||
|
||||
// Implement "iterator protocol"
|
||||
*iterator() {
|
||||
*iterator(): Generator<T> {
|
||||
for (let i = 0; i < this.length; i++) {
|
||||
yield this.get(i);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user