You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrade typescript to 5.7.2 and vue-tsc to 2.2.0, components with a-form will got an error:
error TS2742: The inferred type of 'default' cannot be named without a reference to '.pnpm/scroll-into-view-if-needed@2.2.31/node_modules/scroll-into-view-if-needed'. This is likely not portable. A type annotation is necessary.
370 export default (await import('vue')).defineComponent({
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
371 setup() {
~~~~~~~~~
...
375 __typeRefs: {} as __VLS_TemplateResult['refs'],
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
376 });
~~~
The text was updated successfully, but these errors were encountered:
基本信息
预期结果
compile success
复现步骤
Upgrade typescript to 5.7.2 and vue-tsc to 2.2.0, components with
a-form
will got an error:The text was updated successfully, but these errors were encountered: