vue3-flicking typescript options mismatch
See original GitHub issueDescription
Hi, the typing seems a little bit off. When trying to run some of your examples with vue3 and typescript setup, it gave me this error
Type '{ options: { align: string; circular: boolean; }; }' is not assignable to type 'IntrinsicAttributes & Partial<{}> & Omit<VNodeProps & AllowedComponentProps & ComponentCustomProps, never> & Partial<...> & Omit<...>'.
Type '{ options: { align: string; circular: boolean; }; }' is missing the following properties from type 'Omit<ExtractProps<FlickingProps> & VNodeProps & AllowedComponentProps & ComponentCustomProps, DefaultKeys<...>>': status, firstPanelSize
130 <Flicking :options="options">
const options = { align: 'prev', circular: true }
Look like the options definition is incorrect somehow.
Steps to check or reproduce
yarn create vite
# select vue3 typescript
# install @egjs/vue3-flicking
# use the component just like examples
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
vue3-flicking typescript options mismatch - Naver/Egjs-Flicking
This issue has been tracked since 2021-11-11. Description. Hi, the typing seems a little bit off. When trying to run some of your...
Read more >@egjs/vue3-flicking - npm
Start using @egjs/vue3-flicking in your project by running `npm i ... TypeScript icon, indicating that this package has built-in type ...
Read more >Vue 3: prop with Validator => TypeScript Error Claiming Other ...
In Vue (v3) adding a prop with a validator causes a TypeScript error claiming that another property does not exist.
Read more >Typescript type errors in vue-flicking · Issue #453 - GitHub
I recently setup vue-flicking for carousels in a new Vue project I'm working on(in typescript). But when I build it, it fails with...
Read more >Introducing Flicking v4 with more customization and UI ...
A large number of carousel libraries have the behavior of resizing internal panel elements, often providing a default option for “how many ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve just released vue3-flicking
v4.4.1
that fixes this issue, please try that!Thanks a lot!