打字稿加载器不适用于OpenAPI生成的类
我已经与OpenAPI生成了一个打字稿端客户端,并且在将其导入应用程序并尝试运行它之后,我收到了这些错误:
Module parse failed: Unexpected token (32:7)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| * @interface Division
| */
> export interface Division {
| /**
| *
我似乎找不到解决方案。什么可能导致它,我可以修复它吗?
I have generated a typescript-fetch client with OpenAPI and after I imported it in my application and tried to run it, I receive these erros:
Module parse failed: Unexpected token (32:7)
File was processed with these loaders:
* ./node_modules/source-map-loader/dist/cjs.js
You may need an additional loader to handle the result of these loaders.
| * @interface Division
| */
> export interface Division {
| /**
| *
I can't seem to find a solution to this. What could be causing it and could I fix it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论