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

Commit 34b43ea

Browse files
johnnyreillyjeffbcross
authored andcommitted
docs($location): update search description to include number param
1 parent 9d9cdfb commit 34b43ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ng/location.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@ LocationHashbangInHtml5Url.prototype =
428428
* If the argument is a hash object containing an array of values, these values will be encoded
429429
* as duplicate search parameters in the url.
430430
*
431-
* @param {(string|Array<string>|boolean)=} paramValue If `search` is a string, then `paramValue`
431+
* @param {(string|Number|Array<string>|boolean)=} paramValue If `search` is a string or number, then `paramValue`
432432
* will override only a single search property.
433433
*
434434
* If `paramValue` is an array, it will override the property of the `search` component of

0 commit comments

Comments
 (0)