Skip to content

TypeScript definitions #54

@DoodlesEpic

Description

@DoodlesEpic

Currently, the package does not provide TypeScript definitions. It would be nice if the package provided TypeScript definitions to avoid this kind of error:

Error: Could not find a declaration file for module 'svelte-frappe-charts'. '/node_modules/svelte-frappe-charts/lib/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/svelte-frappe-charts` if it exists or add a new declaration (.d.ts) file containing `declare module 'svelte-frappe-charts';` (ts)

This should be pretty simple to do since the @types/frappe-gantt package is already available.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions