Typescript syntax check errors on someAnyType.someUndefinedFunction()

This is perfcetly valid ts syntax afaik:

declare var foo: any;
var somefn = foo.returnsFunction();
somefn();



But Webstorm writes red squiggly on somefn(); "Argument types do not match parameters"
1 comment

Will be fixed in the next EAP. Thanks for request!

Regards,
Konstantin

0

Please sign in to leave a comment.