错误提示:Cannot find name 'Set'. Do you need to change your target library? Try changing the lib
compiler option to 'es2015' or later.
错误截图 :
错误解决方案:找到项目中tsconfig.json 将 target:es5 修改为 es6 如下图所示
再次执行即可
错误提示:Cannot find name 'Set'. Do you need to change your target library? Try changing the lib
compiler option to 'es2015' or later.
错误截图 :
错误解决方案:找到项目中tsconfig.json 将 target:es5 修改为 es6 如下图所示
再次执行即可
本文标题:Cannot find name ‘Set‘. Do you n
本文链接:https://www.haomeiwen.com/subject/vrsjjltx.html
网友评论