升级 typescript 版本;
项目原来 ts 版本为:typescript: 3.8.3 升级为 typescript: 4.3.2 即可。
执行 yarn add typescript@4.3.2 或 npm install typescript@4.3.2
Cannot read property 'flags' of undefined TSINTERNAL ERROR
原文:https://www.cnblogs.com/Freya0607/p/14890057.html