Fix angular IAttributes#$normalize() definition

This commit is contained in:
Adi Dahiya
2015-10-06 13:08:22 -04:00
parent 4e025add69
commit 23fa2dbebe
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -507,7 +507,7 @@ function test_IAttributes(attributes: ng.IAttributes){
}
test_IAttributes({
$normalize: function (classVal){},
$normalize: function (classVal){ return "foo" },
$addClass: function (classVal){},
$removeClass: function(classVal){},
$set: function(key, value){},
+1 -1
View File
@@ -306,7 +306,7 @@ declare module angular {
*
* For further information check out the guide on @see https://docs.angularjs.org/guide/directive#matching-directives
*/
$normalize(name: string): void;
$normalize(name: string): string;
/**
* Adds the CSS class value specified by the classVal parameter to the