编译时指定编译环境
tsc --target es6 test.ts
其他修改方式
ts ‘Promise‘ only refers to a type, but is being used as a value here.
最新推荐文章于 2022-04-10 18:19:33 发布
编译时指定编译环境
tsc --target es6 test.ts
其他修改方式