vite-plugin-dts: Missing parser plugins causes build process fail when using vue@3.3.26+

当我把我的vue版本改为3.2.36时,vite-plugin-dts,在build以下代码:就会出现错误 `export type FormStateContainerInstance = ComponentPublicInstance< formStatePropsDefine, {}, {}, {}, formStateContanerMethodDefine

` 错误为: SyntaxError: This experimental syntax requires enabling one of the following parser plugin(s): “flow”, “typescript”. (23:9)

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 15 (5 by maintainers)

Most upvoted comments

需要一个复现的仓库以及复现步骤

你好,我给的例子能复现吗? 这个仓库过段时间会更新,所以麻烦尽快clone

我这边登陆之后,打开依旧无限提示未登录然后跳转到登录页,我无法访问到这个仓库

我现在把仓库同步到了github https://github.com/Preyou/vue-design-ts.git