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

Typescript Return Type for Single Result Missing #49

Open
peacememories opened this issue Sep 12, 2021 · 0 comments
Open

Typescript Return Type for Single Result Missing #49

peacememories opened this issue Sep 12, 2021 · 0 comments

Comments

@peacememories
Copy link

Hi, thanks for writing and maintaining this library :)

From what I can tell, the findLocalDevices function can either return a single device, or an array, depending on whether it is called with an ip parameter. This does not seem to be reflected in the type signature, which only includes the list version.

It would be great if the single device return type could be added ^_^

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

No branches or pull requests

1 participant