TypeScript React Display Array
this.state.restoLists.map(({id, name}: any) => {
return <li key={id}>{name}</li>;
});
Defiant Dove
this.state.restoLists.map(({id, name}: any) => {
return <li key={id}>{name}</li>;
});