One of the requirements for using ADVANCED_OPTIMIZATIONS with Closure-compiler is providing the compiler with type information for all of the functions and variables that are not directly defined by your code. This is typically done by using an extern file. Extern files are analogous to C/Java header files in that they provide forward type declarations. […]