嗨,我正在使用Vue3和Typescript和Class组件。我只是从文档中复制粘贴了示例,但看起来Typescript有问题: TS1238: Unable to resolve signature of class decorator when calledType 'typeofimport(".../node_modules/vue-class-component/
我正在做一个简单的评估,要求我在VUE 2中使用类型记录和JSX语法,我还需要集成故事书来测试我的UI组件。我能够使用VUE的简单模板语法运行测试。但是,如果我在VUE组件中使用JSX语法并尝试运行故事书,则会得到以下错误。
ERROR in ./node_modules/@storybook/addon-docs/dist/esm/frameworks/vue
在我们的纱线多工作区项目中,我们得到了一个非常奇怪的类型记录构建异常,最新版本的vue:
TS2345: Argument of type 'Router' is not assignable to parameterType 'import("/node_modules/@vue/runtime-core/dist/runtime-core").App<any>'