convertir interface iterable typescript code example
Example: make an interface iterator typescript
interface Iterable<T> {
[Symbol.iterator](): Iterator<T>;
}
interface Iterable<T> {
[Symbol.iterator](): Iterator<T>;
}