sparkline icon indicating copy to clipboard operation
sparkline copied to clipboard

Any chance you could add typescript support to sparkline?

Open Laro88 opened this issue 2 years ago • 0 comments

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;

Laro88 avatar May 03 '23 11:05 Laro88