在Typescript 的对象中使用扩展运算符(三个点...),有很大可能会使整个对象的类型检查失效。 示例代码 typeBirdBasicType= {wings:number;name:string; };typeeyePropsType = {eyeInfo: {color:string;open:boolean};};typeOwl= eyePropsType &BirdBasicType;constbasicOwl:BirdBasicType= {wings:2,name:'pete...