Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

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
9+8 =