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

Copying numbers #29

Open
smhg opened this issue Dec 13, 2021 · 0 comments
Open

Copying numbers #29

smhg opened this issue Dec 13, 2021 · 0 comments

Comments

@smhg
Copy link

smhg commented Dec 13, 2021

Calling clipboard.copy(80) doesn't seem to do anything.
I assume it only accepts strings, as clipboard.copy(80.toString()) does work.

While you could argue it is up to the user to convert data into a string, copying numbers doesn't sound that awkward.
Would you be open to accept numbers too? Or call toString on the value you receive?
Or otherwise throw an error in this case?

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