Join Slack
Powered by
the solution was simple: ` fun jQueryObj(name:dyn...
# javascript
l
liz3
06/10/2017, 10:13 PM
the solution was simple:
fun jQueryObj(name:dynamic) = js("$(name)")
k
konsoletyper
06/11/2017, 7:07 AM
liz3: That's a bad solution. You don't get compiler's type checks with dynamic type
l
liz3
06/11/2017, 10:31 AM
Updated the return type
2
Views
Open in Slack
Previous
Next