Tuesday, May 21, 2019

Cannot invoke an expression whose type lacks a call signature.

In JavaScript this is telling you that you cannot have:

var yin = yang();

 
 

...and that this is more appropriate:

var yin = yang;

 
 

Don't call the thing like a function.

No comments:

Post a Comment