Skip to content

Typescript support #16

Open
Open
@Infinity-Studios-Software

Description

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';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions