将 TypeScript 类成员设为私有,并添加 private 关键字。