naver / egjs-flicking

🎠 ♻️ Everyday 30 million people experience. It's reliable, flexible and extendable carousel.
https://naver.github.io/egjs-flicking/
MIT License
2.75k stars 128 forks source link

Compile Error "Generic type 'ExtendedVue' requires 5 type argument(s)." #855

Closed herrjonas closed 5 months ago

herrjonas commented 6 months ago

Description

When building with "vue": "2.6.12" and "webpack": "4.46.0" I get the error Generic type 'ExtendedVue' requires 5 type argument(s). in /@egjs/vue-flicking/declaration/Flicking.d.ts(4,25) and @egjs/vue-flicking/declaration/index.d.ts(11,15)

Steps to check or reproduce

"@egjs/vue-flicking": "^4.11.2" "vue": "2.6.12" "webpack": "4.46.0"

herrjonas commented 6 months ago

When using "@egjs/vue-flicking" version 3.8.3 instead of the latest, resolves this issue. So I am pretty sure it is related to our webpack version.

malangfox commented 6 months ago

Hello @herrjonas.

We tried to reproduce this issue but were unable to reproduce it in our environment. Can we check a repository or demo where this issue is occuring?

herrjonas commented 5 months ago

hi @malangfox, thanks for looking into this. As this is occurring in a larger software project with many dependencies it's not easy to provide a test environment for that particular issue. However, as I wrote earlier, we were able to resolve the issue by using another webpack version. So I'm good for now.

Thanks again!