Skip to content

Commit 8361a1b

Browse files
thorn0bullgare
authored andcommitted
docs($injector): clean up docs for $injector#has
Fixup return type and param info. Closes angular#9452
1 parent 0e4c029 commit 8361a1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/auto/injector.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -201,8 +201,8 @@ function annotate(fn, strictDi, name) {
201201
* @description
202202
* Allows the user to query if the particular service exists.
203203
*
204-
* @param {string} Name of the service to query.
205-
* @returns {boolean} returns true if injector has given service.
204+
* @param {string} name Name of the service to query.
205+
* @returns {boolean} `true` if injector has given service.
206206
*/
207207

208208
/**

0 commit comments

Comments
 (0)