error TS2585: 'Promise' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the `lib` compiler option to es2015 or later.

软件翻译后:  Promise仅指类型,但在这里用作值。是否需要更改目标库?尝试将“lib”编译器选项更改为es2015或更高版本

解决方案 一 : 把 "target" : "es2015"

方案二 :  在 'lib' 中添加 "es2015.promise"

最新文章

  1. html5+jqueryMobile编写App推广注册页
  2. Java_File类讲解_打印目录树状结构_递归算法
  3. LA6886 Golf Bot(FFT)
  4. WSP (无线会话协议)
  5. android上传文件到服务器
  6. HDU 1002 A + B Problem II(AC代码)
  7. Directadmin清空所有Tickets命令
  8. 从OGRE,GAMEPLAY3D,COCOS2D-X看开源
  9. group by order by having
  10. Jsop入门程序
  11. header("Location:login.php")
  12. 辛巴达:帮电商打造ZARA式开放供应链体系 - 行业网站 - 亿邦动力网
  13. Unity 弹道轨迹
  14. mac上解决Resource temporarily unavailable
  15. python 生成器(generator)的生成方式
  16. react暴露webpack配置文件
  17. Xilinx的ISE14.7和PlanAhead与win10系统的兼容性问题解决方案
  18. spring--给配置文件.properties加密
  19. 【Eigen开源库】linux系统如何安装使用Eigen库
  20. Anaconda+django写出第一个web app(九)

热门文章

  1. 将表单序列化为JSON对象
  2. 基于SSL的MySQL主从
  3. fjwc2019 D2T3 排序(堆)
  4. SolrCloud集群配置
  5. linux 实时显示网速bash
  6. 20145212 罗天晨 Web安全基础实践
  7. memory cache 和 disk cache
  8. Codeforces 789D Weird journey - 欧拉路 - 图论
  9. iOS开发 -------- 九宫格坐标计算
  10. topcoder srm 701 div1 -3