score:3

Accepted answer
const someFunction = (props: Props) => {
  const name = props.name
  const age = props.age

  console.log(name, age)  
}

Related Query

More Query from same tag