-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
In #1405 we seem to be leaning towards JsString
both representing the native String
class as well as the string primitive in JS. I suspect we'd want to do the same for Number
too!
Currently, though, both these types inhereit from Object
which means they Deref
to Object
. If we use native strings in JsString
(which we actually already do) then this may not be quite right.
Should we remove the extends
annotation from these types so they both deref to JsValue
?