v-onboarding icon indicating copy to clipboard operation
v-onboarding copied to clipboard

refactor(v-onboarding-wrapper): convert to script setup

Open J-Michalek opened this issue 4 months ago • 3 comments

Provide better TS support by allowing the step type to be generic.

In my project I extend the steps with extra properties and want it to be fully types within the slot (as of now it is typed as any).

I converted the component into script setup syntax but the issue arose when I tried to build it - it seems the type generation this project uses is unable to handle the generic type for a prop, not sure how to progress further since I have no knowledge of vue-docgen-web-types or its necessity.

Any help would be much appreciated!

J-Michalek avatar Oct 24 '24 05:10 J-Michalek