Any chance you could add typescript support to sparkline?
Laro88 opened this issue · comments
Jes Ramsing commented
sparkline works fine in Vue3 but vite is not happy with the lack of .d.ts file.
I have handcrafted a .d.ts file for the sparkline function:
//sparkline.d.ts in the dist folder
export default function sparkline(svg_html_ref: any, data:any[], options?:any) : void;