When attempting to compile two JavaScript files that both use a function declared in only one of the files, an "undeclared" error is returned.
To solve this issue, I added the function declaration to my externs file like this:
var myFunction = function() {};
However, upon compiling, I encountered the error:
Variable myFunction declared more than once. First occurrence: [path]
How can I inform Google Closure Compiler that a function has been declared elsewhere if not in the externs file?