Bad type annotation. Unknown type
问题 I keep getting the warning mentioned above but can't figure out why. I've added deps.js and deps.js contains a reference to the type. Here is the offending code: goog.provide("MyCompany.MyApp.dom"); MyCompany.MyApp.dom.getArticleAmountInput_=function(){ return document.getElementById("articleAmount"); }; /** * Gets the article amount input value * @type {function(this:MyCompany.MyApp.dom):number} */ MyCompany.MyApp.dom.getArticleAmount=function(){ var tmp=this.getArticleAmountInput_(); return