Comment remplir le tableau dans TypeScript
let a : SimpleArray[] = [
{
id: 1,
name: 'Jack'
},
{
id: 2,
name: 'Jack2'
}];
export interface SimpleArray {
id: Number;
name: string;
}
Successful Sloth