Closed dengshicheng1996 closed 2 years ago
新的template修复了这个问题,可以重新运行yarn create vlib
,https://github.com/dewfall123/vlib-template/commit/225e06a979a6b1d0ef29331cb8dbada4be2aefe0
也可以直接更新下vue-tsc版本,修改下type命令为 vue-tsc --declaration --emitDeclarationOnly
https://github.com/johnsoncodehk/volar/tree/master/packages/vue-tsc
或者采用其它dts生成方案都行