vscode中 在TypeScript 文件使用 new Set时报错 Cannot find name 'Set'. Do you need to change your target library? Try changing the `lib` compiler option to 'es2015' or later.

 

 点击一下右下角、

 

 点击创建

 

 然后保存就可以了

 

 

posted @ 2021-05-13 15:39  The_rain  阅读(1860)  评论(1)    收藏  举报