1// Of course JavaScript doesn't have them, but are there additional libraries or proposed language extension, for example
2
3//Example:
4@type {folder.otherjsmodule.foo}
5function(){
6 foo = folder.otherjsmodule.foo();
7 ...
8 return foo;
9};
10
11//Source: https://stackoverflow.com/questions/17065949/javascript-annotations