Skip to content
This repository has been archived by the owner on Feb 12, 2024. It is now read-only.

chore: add @types/yargs for better inference #3357

Merged
merged 1 commit into from
Oct 28, 2020
Merged

Conversation

Gozala
Copy link
Contributor

@Gozala Gozala commented Oct 27, 2020

This was prompted by #3353. I am guessing that something end up pulling old version of @types/yargs that was unaware of onFinishCommand. This pull explicitly adds latest @types/yargs into ipfs-cli dev dependencies which:

  1. Seems to be aware of onFinishCommand.
  2. Makes ipfs-cli aware of yargs interface, which without this just appears as any.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
ipfs/js-ipfs Project Roadmap
v0.55.0 Better Types
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants