3function replyToOfficer(talk: Officer): People {
4 if (talk === '你有没有驾照') {
5 return '有有有';
6 } else {
7 return '算了嘛 警官';
8 }
9}