Closed H-Sven closed 3 months ago
我也遇到了
执行时,加下-v,可以看下大概哪个在转换哪个文件时报错。 从截图看,像是模版里使用里对象调用导致的。例如template模版里写了<div>{{ {a: 1}['a'] }}</div>,是不是有写类似这样的语法
ts尖括号的写法会报错
好的。我晚上回去修。周末给你解决
辛苦了!!!
ts强制类型转换。会被错误识别成jsx里的html,导致的这个问题。我暂时没想出好的解决方案。 新的脚手处理逻辑改成:报错也会继续处理剩余的文件,并给出友好的错误提示,有助于定位,和手动修复问题。你可以根据报错信息,手动把强制转换改成as断言来修复
ts强制类型转换。会被错误识别成jsx里的html,导致的这个问题。我暂时没想出好的解决方案。 新的脚手处理逻辑改成:报错也会继续处理剩余的文件,并给出友好的错误提示,有助于定位,和手动修复问题。你可以根据报错信息,手动把强制转换改成as断言来修复
好的,我先试试!辛苦
Since the issue was labeled with inactive
, but no response in 3 days. This issue will be closed. If you have any questions, you can comment and reply.
由于该 issue 被标记为不活跃,却 3 天未收到回应。现关闭 issue,若有任何问题,可评论回复.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。