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
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts(1408,15): error TS2430: Interface 'IntrinsicElements' incorrectly extends interface 'NativeElements'.
[watch:ts] Types of property 'symbol' are incompatible.
[watch:ts] Type 'SVGProps' is not assignable to type 'ElementAttrs'.
[watch:ts] Type 'SVGProps' is not assignable to type 'SVGAttributes'.
[watch:ts] Types of property 'autoReverse' are incompatible.
[watch:ts] Type 'boolean | "false" | "true" | undefined' is not assignable to type 'string | number | undefined'.
[watch:ts] Type 'false' is not assignable to type 'string | number | undefined'.
[watch:ts]
[watch:ts] 14:22:18 - Found 16 errors. Watching for file changes.
In the monorepo project, if this module is introduced to multiple packages, there will be the problem of repeated definitions, which is a bit difficult to handle
The following is not a problem, no need to read:
有人知道现在这么挂载全局模块么?
vue 3 有人开始准备强上项目了,期待分享
The text was updated successfully, but these errors were encountered:
Seems you are using Storybook. According to this issue in the Storybook repository: storybookjs/storybook#17290, it's already fixed in Storybook 7.0.
If you are still experiencing this issue after updating the dependencies, please open a new issue with an updated reproduction. Thanks for reporting!
Version
3.0.0-beta.6
Reproduction link
https://github.com/zhengxs2018/vue-next-ui-templates
Steps to reproduce
我准备做一个 vue 3.x 的 ui 脚手架,这个错误很烦,真的
执行 npm 命令就可以看到问题了
Execute the NPM command to see:
yarn watch
What is expected?
0 error(s), 0 warning(s)
What is actually happening?
node_modules/@vue/runtime-dom/dist/runtime-dom.d.ts(1408,15): error TS2430: Interface 'IntrinsicElements' incorrectly extends interface 'NativeElements'.
[watch:ts] Types of property 'symbol' are incompatible.
[watch:ts] Type 'SVGProps' is not assignable to type 'ElementAttrs'.
[watch:ts] Type 'SVGProps' is not assignable to type 'SVGAttributes'.
[watch:ts] Types of property 'autoReverse' are incompatible.
[watch:ts] Type 'boolean | "false" | "true" | undefined' is not assignable to type 'string | number | undefined'.
[watch:ts] Type 'false' is not assignable to type 'string | number | undefined'.
[watch:ts]
[watch:ts] 14:22:18 - Found 16 errors. Watching for file changes.
在 monorepo 工程下,如果给多个 package 引入这个模块,还会出现重复定义的问题,难搞啊
In the monorepo project, if this module is introduced to multiple packages, there will be the problem of repeated definitions, which is a bit difficult to handle
The following is not a problem, no need to read:
The text was updated successfully, but these errors were encountered: