Skip to content

Commit

Permalink
fix: functionCall's func parameter as Dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
pawelhertman committed Sep 16, 2021
1 parent 70d2167 commit 655f058
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/functionCall.brs
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
' return m.base + arg1 + arg2 + arg3 + arg4
' end function
' funcionCall(adder, [1, 2, 3, 4], { base: 1 })
' @param {Function} func
' @param {Function|Invalid} func
' @param {Dynamic[]} [args=[]]
' @param {Object} [context=Invalid]
' @returns {Dynamic}
function functionCall(func as Function, args = [] as Object, context = Invalid as Object) as Dynamic
function functionCall(func as Dynamic, args = [] as Object, context = Invalid as Object) as Dynamic
if (func = Invalid)
return Invalid
end if
Expand Down

0 comments on commit 655f058

Please sign in to comment.