I have a function that looks like this:
function decorateFunctionName(name: string, isStarting: boolean = true)
And calling it with one argument gives:
function expects 2 arguments, but 1 supplied
decorateFunctionName(func_name);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I have a function that looks like this:
function decorateFunctionName(name: string, isStarting: boolean = true)And calling it with one argument gives: