In my current Angular project, I am attempting to call the following function:
updateFn: () => (val: boolean) => void;
I have tried invoking it like so:
this.updateFn()(true);
However, I consistently receive a
this.updateFn(...) is not a function
error in Typescript.