You can use the @module tag in each file:
You would use file2 for your other file. I assumed that your modules will have the same name as your files.
Then, when you want to access things in a module, you use the module: notation. Therefore, if your file1 module contains a class called foo . You should refer to it to mark the type of data that the function in another module returns with @returns {module:file1~foo} . The tilde designation is explained here . This simply indicates that foo is an "internal" member of the file1 module. (Making it a βstaticβ member would be better in my opinion, but the current version of jsdoc is not up to the task for modules.)
source share