Skip to content

How do I make custom typings for dependant modules #65

@Bengreen

Description

@Bengreen

In my library I am creating I am using some dependant libraries to provide some parts.
But these dependant (JS) libraries do not have typescript typings and/or have broken typings (in definitely typed @types). I am going to go through the process of making pull requests to these to improve these BUT for some of these it will not be feasible.
Is there are way to create my own local custom typings for modules I am using in the process of building a module ?
I tried in index.d.ts, but couldn't get it working it seemed to be parsing those definitions after the index.ts which meant that type errors stopped my build in the index.ts.

Any help or pointers or suggestions would be much appreciated ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions