HTML5 cannot use `untyped __js__` in ApplicationMain.hx template

If I use untyped __js__ in ApplicationMain.hx template, I get compile error:
Error:(10, 21) Unknown identifier: __js__

Ok. I had to surrond it with

#if (js && html5)
...
#end
1 Like