Fixed lint errors

This commit is contained in:
Dona278
2018-02-09 11:28:32 +01:00
parent c6f0355c07
commit d559e87ca2
2 changed files with 4 additions and 7 deletions
@@ -393,6 +393,6 @@ myApp.controller('StickyController', ($scope: TestScope, $mdSticky: ng.material.
const stickyElement = angular.element(new Element());
const cloneStickyElement = stickyElement.clone();
$mdSticky($scope, stickyElement);
$mdSticky($scope, stickyElement, cloneStickyElement);
});
$mdSticky($scope, stickyElement);
$mdSticky($scope, stickyElement, cloneStickyElement);
});
+1 -4
View File
@@ -495,9 +495,6 @@ declare module 'angular' {
configure(options: IProgressCircularConfig): void;
}
interface IStickyService {
(scope: IScope, element: JQuery): void;
(scope: IScope, element: JQuery, elementClone: JQuery): void;
}
type IStickyService = (scope: IScope, element: JQuery, elementClone?: JQuery) => void;
}
}