修改 ts 编译配置为 es6 即可:

 "compilerOptions": {
    "target": "es6",
posted on 2021-06-23 01:18  死宅程序员  阅读(412)  评论(0编辑  收藏  举报