vue3项目中使用第三方插件,总提示ts错误,怎么解决呀?查了好久实在不知道如何解决急 #8333
Unanswered
satt-hri
asked this question in
Help/Questions
Replies: 2 comments 1 reply
-
声明一个.d.ts 文件
但是这样做会失去语法提示 |
Beta Was this translation helpful? Give feedback.
1 reply
-
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
类型“{ $: ComponentInternalInstance; $data: {}; $props: Partial<{}> & Omit<Readonly<ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{ categoryLabels: (Major | ResCategoryLabel)[]; courses: Course[]; title: string; }>>> & { ...; } & VNodeProps & AllowedComponentProps & ComponentCustomProps, never>; ... 10 more ...; $watch<...”上不存在属性“swipe”
用的是这个库
[https://github.com/robinrodricks/vue3-touch-events](https://github.com/robinrodricks/vue3-touch-events)
Beta Was this translation helpful? Give feedback.
All reactions