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
In this case val will be a JS object. But I want it to be a JS string that contains "hello". Is there any way to do this?
Same question applies to type aliases:
Hello @dop251 Thanks for you reply.
Yes, in the first case I want ToValue to return a string instead of an object. Would be awesome to somehow override how ToValue behaves.
Sorry, but I don't feel like introducing the sort of customisation you are suggesting would be beneficial, it would make it more complicated and slower for everybody. Instead of using ToValue() or Export(), you can implement your own mechanism if necessary.
I would be happy to implement it, but it is impossible to do so without forking the project. Can you give me any suggestions how to do it without forking? Thank you.
Hello. Thank you for goja, I love it :)
Question, that I hadn't been able to figure out so far:
In this case val will be a JS object. But I want it to be a JS string that contains "hello". Is there any way to do this?
Same question applies to type aliases:
helloVal will be a JS object instead of a string.
Thanks so much. Peter
The text was updated successfully, but these errors were encountered: