An expression is being called as a function, but its type does not have a call signature. The value may not be a function, or the type may be incorrect.
TS2349
typescript An expression is being called as a function, but its type does not have a call signature. The value may not be a function, or the type may be incorrect.