Open IspeakIT opened 2 years ago
I am having the same issue - I added // @ts-ignore
right before the import line.
Confirming that I had the same problem and that using ts-ignore works.
` import { createApp } from 'vue' import App from './App.vue'
// @ts-ignore import ganttastic from '@infectoone/vue-ganttastic'
createApp(App) .use(ganttastic) .mount('#app')
`
The package currently doesn't expose types. See: https://github.com/InfectoOne/vue-ganttastic/pull/53
Now that #53 and #62 have been merged, I'd be thankful if someone could install the latest version and tell me if the problem still persists (because I was not getting the error in the first place anyways).
Hi, I get the following error when importing. My project uses the latest version of Vue 3.2.31 But unfortunately, this error always comes. What am I doing wrong?
ERROR in src/main.ts:3:24 TS2307: Cannot find module '@infectoone/vue-ganttastic' or its corresponding type declarations. 1 | import {createApp} from 'vue' 2 | import App from './App.vue'