To use @vueuse/motion with TypeScript follow these steps:
index.ts27 chars2 lines
index.ts24 chars2 lines
index.ts120 chars3 lines
index.ts100 chars7 linesdefineComponent method:index.ts240 chars16 linesindex.ts122 chars8 lines
Finally, make sure to install the TypeScript types for @vueuse/motion with:
index.ts37 chars2 lines
Or
index.ts34 chars2 lines
gistlibby LogSnag