Open halo951 opened 4 years ago
初次使用 egg.js ,我用的ts版本,光荣入坑egg-mysql,我看官网和github上面都没有明确的 .d.ts支持,参考百度上别人整理的,封了一个分享出来,希望作者补充到egg-mysql的文档中,尽量让后来者少踩坑。
yarn add egg-mysql-typescript-lib
这个 不应该是到 egg-mysql 仓库 下,提个 PR 呢? 提完等待作者的 review
额,好像是的..emmm
Background
初次使用 egg.js ,我用的ts版本,光荣入坑egg-mysql,我看官网和github上面都没有明确的 .d.ts支持,参考百度上别人整理的,封了一个分享出来,希望作者补充到egg-mysql的文档中,尽量让后来者少踩坑。
Proposal
yarn add egg-mysql-typescript-lib