You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
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?
The text was updated successfully, but these errors were encountered: