Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 83e36db

Browse files
Andreas Krummsdorfjeffbcross
Andreas Krummsdorf
authored andcommitted
style(loader.js): correct JSDoc tags of the params of the function module(name, requires, configFn)
This will improve the hints for IDE's which support the Google Closure Compiler (e.g. Webstorm)
1 parent d64d41e commit 83e36db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/loader.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@ function setupModuleLoader(window) {
7272
* {@link angular.bootstrap} to simplify this process for you.
7373
*
7474
* @param {!string} name The name of the module to create or retrieve.
75-
* @param {Array.<string>=} requires If specified then new module is being created. If
75+
* @param {!Array.<string>=} requires If specified then new module is being created. If
7676
* unspecified then the module is being retrieved for further configuration.
77-
* @param {Function} configFn Optional configuration function for the module. Same as
77+
* @param {Function=} configFn Optional configuration function for the module. Same as
7878
* {@link angular.Module#config Module#config()}.
7979
* @returns {module} new module with the {@link angular.Module} api.
8080
*/

0 commit comments

Comments
 (0)