|
| 1 | +/** |
| 2 | + * @param {ng.StateService} $stateService |
| 3 | + * @param {ng.StateRegistryService} $stateRegistry |
| 4 | + * @param {ng.TransitionService} $transitions |
| 5 | + * @returns {ng.Directive} |
| 6 | + */ |
1 | 7 | export function $StateRefDirective( |
2 | | - $stateService: any, |
3 | | - $stateRegistry: any, |
4 | | - $transitions: any, |
5 | | -): { |
6 | | - restrict: string; |
7 | | - require: string[]; |
8 | | - link: (scope: any, element: any, attrs: any, ngSrefActive: any) => void; |
9 | | -}; |
| 8 | + $stateService: ng.StateService, |
| 9 | + $stateRegistry: ng.StateRegistryService, |
| 10 | + $transitions: ng.TransitionService, |
| 11 | +): ng.Directive; |
10 | 12 | export namespace $StateRefDirective { |
11 | 13 | let $inject: string[]; |
12 | 14 | } |
13 | 15 | /** |
14 | | - * @param $state |
15 | | - * @param $stateRegistry |
16 | | - * @param $transitions |
| 16 | + * @param {ng.StateService} $state |
| 17 | + * @param {ng.StateRegistryService} $stateRegistry |
| 18 | + * @param {ng.TransitionService} $transitions |
17 | 19 | * @returns {ng.Directive} |
18 | 20 | */ |
19 | 21 | export function $StateRefDynamicDirective( |
20 | | - $state: any, |
21 | | - $stateRegistry: any, |
22 | | - $transitions: any, |
| 22 | + $state: ng.StateService, |
| 23 | + $stateRegistry: ng.StateRegistryService, |
| 24 | + $transitions: ng.TransitionService, |
23 | 25 | ): ng.Directive; |
24 | 26 | export namespace $StateRefDynamicDirective { |
25 | 27 | let $inject_1: string[]; |
26 | 28 | export { $inject_1 as $inject }; |
27 | 29 | } |
28 | 30 | /** |
29 | | - * @param {*} $state |
30 | | - * @param {import('../router.js').RouterProvider} $router |
| 31 | + * @param {ng.StateService} $state |
| 32 | + * @param {ng.RouterService} $router |
31 | 33 | * @param {ng.InterpolateService} $interpolate |
32 | 34 | * @param {*} $stateRegistry |
33 | 35 | * @param {*} $transitions |
34 | 36 | * @returns {ng.Directive} |
35 | 37 | */ |
36 | 38 | export function $StateRefActiveDirective( |
37 | | - $state: any, |
38 | | - $router: import("../router.js").RouterProvider, |
| 39 | + $state: ng.StateService, |
| 40 | + $router: ng.RouterService, |
39 | 41 | $interpolate: ng.InterpolateService, |
40 | 42 | $stateRegistry: any, |
41 | 43 | $transitions: any, |
|
0 commit comments