Skip to content

DX improvement: Add d.ts file for autocomplete and type checking #754

@RangerMauve

Description

@RangerMauve

Hey there, I've been doing more VSCode/TypeScript stuff as part of work and I was wondering if you'd be open to a PR for a d.ts type to be added to this library to make it easier to do autocomplete and type checking in projects built on Hypercore.

I've got most of the API documented here already if you're open to it.

I'm thinking of doing the same for hyperswarm/corestore/hyperdrive/hyperbee/rocksdb-native.

I'd suggest adding a disclaimer like "Types are only partially supported, please submit a PR with improvements if you run up against issues."

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