J-T-McC / vue3-chartjs

Vue3 wrapper for ChartJS
MIT License
118 stars 23 forks source link

TypeScript support #11

Closed rafalolszewski94 closed 5 months ago

rafalolszewski94 commented 3 years ago

Can we expect TypeScript support anytime soon?

My project (as many others I assume) rely on TS and that would be great addition to the package itself with better completion.

*I have no experience in typing packages

J-T-McC commented 3 years ago

I don't have a timeframe for this as of yet but its on my list of things. TypeScript is new to me, so I have some learning to do before I push anything out in this area.

riderx commented 3 years ago

Hey @J-T-McC any update on this ? your plugin look great but i can't use it without Ts definition :/

productdevbook commented 2 years ago

some problem

neoighodaro commented 2 years ago

Same issue as well

grubshka commented 2 years ago

Hey @J-T-McC any update on this ? your plugin look great but i can't use it without Ts definition :/

I don't understand why you can't use it ? It works like a charm with typescript, you just don't have autocompletion and IDE hints on types. I added declare module "@j-t-mcc/vue3-chartjs" in a .d.ts file to prevent warnings on import statements.

riderx commented 2 years ago

i switched to vue-chartjs