Here's a function I'm working with:
public static async myFunc(
x: 500,
y: boolean = true,
z = 1000,
)
I'm trying to invoke the function without supplying a value for y
:
myFunc(1000, 2000);
However, I'm encountering an error stating that 2000 is not a boolean.