You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Great library, I love how it handles the placement and all, it's shame using the autoTable(doc, { ... }) doesn't return the finalY anyhow. It's easy to use applyPlugin it's not really great to see all those TypeScript errors we get. I searched the docs and issues and seems like nobody yet has found a solution yet, so here I am posting my 100% TypeScript solution:
Create a declaration file somewhere (for my Vue Vite project, I got a shims.d.ts file already).
This could be implemented directly into the library so other users won't experience the same problem 💪. I will see what I can do when I have free time!
Hey!
Great library, I love how it handles the placement and all, it's shame using the
autoTable(doc, { ... })
doesn't return thefinalY
anyhow. It's easy to useapplyPlugin
it's not really great to see all those TypeScript errors we get. I searched the docs and issues and seems like nobody yet has found a solution yet, so here I am posting my 100% TypeScript solution:shims.d.ts
file already).tsconfig.json
file'sinclude
field.And voila 🎉, you got your types ready!
The text was updated successfully, but these errors were encountered: