`,
})
export class UserListComponent {
@Output() selectUser = new EventEmitter<{ id: string; name: string }>()
@Inout() users: { id: string; name: string }[]
onSelectUser(id: string) {
this.selectUser.emit(this.users.find(u => u.id === id))
}
}