This code block
#if someCondition
function foo() as object
return m
end function
#end if
Cause to "Parsing error: Expecting token of type --> END_FUNCTION <-- but found --> 'as' "
I assume eslint-plugin-roku "doesn't understand" the function's definition with parameter inside macro.
SUB definition, or function definition without return type works well
This code block
Cause to "Parsing error: Expecting token of type --> END_FUNCTION <-- but found --> 'as' "
I assume eslint-plugin-roku "doesn't understand" the function's definition with parameter inside macro.
SUB definition, or function definition without return type works well