References missing in project...

Sorry the vague title, but not sure how else to narrow description.

I have a web app project. Front end is using typescript. In the ts files there are references to, e.g., 

angular.IPromise<any>;  // angular is red, unresolved
angular.IQService; // "
this.http.get( // get is red, unresolved.
this.foobar(the_var).then((result) => { // then is unresolved.
deferred.resolve(copy);
});

 

I've followed all directions that I can find that should provide ts integration support in IDEA but can't get this
stuff to properly resolve.

Any ideas?

0

My answer is as vague as your problem description: files where these functions are defined are either missing or not included in resolve scope (not included in tsconfig.json, not available as a result of evaluating imports chain, etc.). That's all I can say unless I have a project to look at - as there might be dozens of different configurations, and I have no idea what should be done in your particular case

0

请先登录再写评论。