Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

tepescript loop object

function foo(abc: ABC) {
  let k: keyof ABC;
  for (k in abc) {  
    const v = abc[k];  
  }
}
Source by effectivetypescript.com #
 
PREVIOUS NEXT
Tagged: #tepescript #loop #object
ADD COMMENT
Topic
Name
4+6 =