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

Provide proper typings for cli.progress() #438

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

divideby0
Copy link

Hi! 👋

Firstly, thanks for your work on this project! 🙂

At the moment, cli.progress() takes an option argument of any and returns any. This makes it difficult to validate which options are valid and which operations are available on the result of the function.

There may be a reason that any is specified here. But if it was an oversight, this PR should resolve the issue.

Hi! 👋 
      
Firstly, thanks for your work on this project! 🙂

At the moment, `cli.progress()` takes an option argument of `any` and returns `any`. This makes it difficult to validate which options are valid and which operations are available on the result of the function.

There may be a reason that `any` is specified here. But if it was an oversight, this PR should resolve the issue.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant