【web前端】TypeScript 类型约束 1、原始类型约束 在ES5之前的版本,原始数据类型包含string、number、boolean、null、undefined五种,ES6之后新添了一种 ... 站长-小徐 2021-12-06