Skip to content

Conversation

@gabmontes
Copy link

@gabmontes gabmontes commented Dec 2, 2025

Types were added in #77 but not included in the NPM package, therefore type checking cannot be properly done. This is the error usually thrown by TypeScript:

Could not find a declaration file for module 'coinselect'. '.../node_modules/coinselect/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/coinselect` if it exists or add a new declaration (.d.ts) file containing `declare module 'coinselect';`

Including the type definitions file in the package as done in ChrisCho-H@f173732 and publishing a new version will solve the problem.

Note that I didn't bump the package version in this PR but happy to do so if that would help.

Possibly related to #85 too.

Copy link
Collaborator

@Overtorment Overtorment left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aaronisme
Copy link

any chance to publish an new version ?

@Overtorment
Copy link
Collaborator

@gabmontes can you pls pour fresh master into your branch? im hoping it will fix all failing CI jobs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants