修改JavaScript and TypeScript Nightly版本即可 步骤如下 找到JavaScript and TypeScript Nightly点击设置 ->点击安装另一版本 2.修改版本为5.0以下