Skip to content

libp2p (and friends) index.d.ts for TypeScript #208

Closed
@jacogr

Description

@jacogr
  • Version: latest
  • Platform: TypeScript
  • Subsystem: libraries

Type: Question

Severity: Very Low

Description:

I've been starting with TypeScript definitions, https://github.com/polkadot-js/ts/blob/master/types/libp2p/index.d.ts - these are exceptionally early, ugly, hacky, untested with still some way to go.

My question is the following: would be be appropriate to make a PR across the js-libp2p repos to add these as they are actually ready and usable or is there no appetite to have these single-definitions-per-repo included?

(Alternatively could submit them to the community DefinitelyTyped repo, but it is better if they are in the source, i.e. just installing the library allows you to use it with TS projects).

Metadata

Metadata

Assignees

No one assigned

    Labels

    status/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions