mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
.search now allows number for paramValue
This commit is contained in:
@@ -618,6 +618,10 @@ module locationTests {
|
||||
$location.search('foo', 'yipee');
|
||||
// => $location
|
||||
|
||||
// set foo to 5
|
||||
$location.search('foo', 5);
|
||||
// => $location
|
||||
|
||||
/*
|
||||
* From: https://docs.angularjs.org/guide/$location
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user