Tepescript -Schleifenobjekt
function foo(abc: ABC) {
let k: keyof ABC;
for (k in abc) {
const v = abc[k];
}
}
Old-fashioned Ostrich
function foo(abc: ABC) {
let k: keyof ABC;
for (k in abc) {
const v = abc[k];
}
}