wangdoc/typescript-tutorial

第九章TypeScript对象类型未按声明属性赋值时不报错

Closed this issue · 1 comments

经测试,声明了对象类型的属性后,未按声明属性数量赋值,未报错且正常输出

Image

Image

原文正确