svelte-fusioncharts icon indicating copy to clipboard operation
svelte-fusioncharts copied to clipboard

Typescript support

Open Infinity-Studios-Software opened this issue 1 year ago • 1 comments
trafficstars

Can you provide typescript support for this package? I can't use

import SvelteFC, { fcRoot } from 'svelte-fusioncharts';

as the compiler wont let me go through. Is this an issue for everyone with checkJS true in the compiler options or am i doing something wrong? The error i get is the following:

Could not find a declaration file for module 'svelte-fusioncharts'. '/Users/afonsopereira/Desktop/leipt/node_modules/svelte-fusioncharts/index.js' implicitly has an 'any' type. Try npm i --save-dev @types/svelte-fusioncharts if it exists or add a new declaration (.d.ts) file containing declare module 'svelte-fusioncharts';

I am starting new project with Svelte 5. I can not get to run. Is this the same issue?

myanalysis avatar Nov 27 '24 03:11 myanalysis