I'm getting a warning trying to compile some JS:
angular.js:366: WARNING - inconsistent return type
found : *
required: boolean
return obj && obj.document && obj.location && obj.alert && obj.setInterval;
I'm surprised this is causing a warning. What's the preferred way to do this with Closure Compiler?
Thanks,
Ben