typescript:
egg 版本:2.24.0
egg-mysql版本:3.0.0

Hello @liuhuanhui. Please provide a reproducible example following the instruction.
Issues labeled by Need Reproduce will be closed if no activities in 7 days.
@liuhuanhui,请根据这个说明提供最小可复现代码。
如果在 7 天内没有进展会被自动关闭。
跪求 解决这个问题 这个插件最常见了
跪求 解决这个问题 这个插件最常见了
请仔细看上一条回复
跪求 解决这个问题 这个插件最常见了
自己添加index.d.ts
可以给 egg-mysql 提下 PR 增加下 d.ts
在 typings 文件夹下的 index.d.ts 文件里加入下图里的代码就可以解决了。

厉害了
Most helpful comment
在 typings 文件夹下的 index.d.ts 文件里加入下图里的代码就可以解决了。