错误'types' can only be used in a .ts file. let x: number;. 因此,对于 .js 文件,需要一种被JavaScript 语法所兼容的类型标注方式,比如JSDoc:
確定! 回上一頁