devicescript icon indicating copy to clipboard operation
devicescript copied to clipboard

to string on core types

Open pelikhan opened this issue 2 years ago • 3 comments

So it auto looks ok on console

pelikhan avatar Feb 09 '23 19:02 pelikhan

Needs non blocking read

pelikhan avatar Feb 09 '23 19:02 pelikhan

blocked on https://github.com/microsoft/devicescript/issues/121

pelikhan avatar Feb 10 '23 02:02 pelikhan

note https://github.com/microsoft/devicescript/blob/main/website/docs/language/devicescript-vs-javascript.mdx#tostring-conversions

We could call toString() automatically when the type is known, or maybe just call it always, unless the type is known to be string/number?

mmoskal avatar Mar 07 '23 22:03 mmoskal