升级 typescript 版本;
项目原来 ts 版本为:typescript: 3.8.3 升级为 typescript: 4.3.2 即可。
执行 yarn add typescript@4.3.2 或 npm install typescript@4.3.2