Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix TTY::Prompt#multi_select return type #208

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

Conversation

ruionwriting
Copy link

Describe the change

TTY::Prompt#multi_select current Yard documentation defines the return type as [String] when instead it is actually [Array<String>]

I've also adding /.idea/ path to .gitignore if that is possible.

Why are we doing this?

I favor to, to best of my abilities, to ensure libraries public methods Yard/RDoc are as more accurate as possible. This makes code documentation in the IDE to match the actual behavior/return type.

Benefits

IDE/language server correct method signature.

Drawbacks

Not aware of none.

Requirements

  • Tests written & passing locally?
  • Code style checked?
  • Rebased with master branch?
  • Documentation updated?
  • Changelog updated?

@ruionwriting
Copy link
Author

@piotrmurach is this project still active and accepting PRs?

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.

1 participant