Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rap2-dolores 打包报错 #896

Open
chenhj520 opened this issue Nov 24, 2022 · 0 comments
Open

rap2-dolores 打包报错 #896

chenhj520 opened this issue Nov 24, 2022 · 0 comments

Comments

@chenhj520
Copy link

BUG描述
rap2-dolores 前端打包报错
npm 版本 8.19.3
Type expected. TS1110

147 | ): match<Params> | null;
148 |

149 | export type ExtractRouteOptionalParam<T extends string, U = string | number | boolean> = T extends ${infer Param}?

复现步骤
npm run build

期望结果

可以正确打包

实际结果
打包报错

截图
image

环境

  • 是否是自建服务器?如果为自建,请提供操作系统版本
  • 如果是前端错误,请提供浏览器版本
  • 其它可能帮助我们排查问题的环境信息

附加信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant