1. 最省事的办法,npm install --save @types/three
2. my.js 同级目录下新建jsconfig.json空文件
3.如上图,提示搞定
原文:https://www.cnblogs.com/c350156378/p/8430799.html