Skip to content

Add types #7

@iBobik

Description

@iBobik

I want to comfortably use this library in the Typescript project but:

Could not find a declaration file for module 'lightning-backends'. '.../node_modules/lightning-backends/index.js' implicitly has an 'any' type.

What is your vision on this?

  • convert whole library to Typescript
  • add just type declaration (.d.ts) file - will need to maintain this
  • add JSDoc comments to all functions - could help also developers of this library, need to add typescript generator to generate .d.ts file

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