使用命令:tsc --target es5 script.ts
typescript使用存取器报错【Accessors are only available when targeting ECMAScript 5 and higher】
猜你喜欢
转载自www.cnblogs.com/wenxiangxu/p/8881577.html
今日推荐
周排行