找不到模块,引入不了*.d.ts

webSocket.ts 为起点找不到模块 “…/proto/proto”

import {protocol} from “…/proto/proto”
微信截图_20220805181746

*.d.ts引入不了吗?

https://gitee.com/cocos/cocos-example-projects/tree/master/protobuf
参考这个解决了