Typscript React Display Array

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