Cannot find name 'AsyncIterator' error in Typescript compilation process 问题解决

解决方法:

tsconfig.json:
添加lib 编译选项
{
  "compilerOptions": {
    "lib":[
      "esnext.asynciterable",
      "es2015"
    ]
  }
}

posted on 2018-07-31 09:43  荣锋亮  阅读(427)  评论(0编辑  收藏  举报

导航