Answers for "how to populate array in typescript"

0

how to populate array in typescript

let a : SimpleArray[] = [
  {
    id: 1,
    name: 'Jack'
  },
  {
    id: 2,
    name: 'Jack2'
  }];

export interface SimpleArray {
  id: Number;
  name: string;
}
Posted by: Guest on January-28-2022

Code answers related to "how to populate array in typescript"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language