Skip to content

typescript type annotations #815

@dl3br

Description

@dl3br

i ported a project that uses bitcoinjs-lib 3.0.3 to typescript and on the process i generated type declaration files that work well with the library, facilitatiing linting, autocompletion over the namespaces and displaying the parameter and types for functions. I left many functions that take optional parameters as obligatory on my type definitions, as i havent studied the library carefully to fix that.

would there be any interest in integrating this type annotations to the package? if so i could submit a PR

best
d

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions