Types of Angularjs (1) (ng. *) In compodoc are undefined

Can you help me with the following problem. I have a class:

export class MyClass {
    public static $inject: string[] = [
        "$element",
        "$scope"
    ];
    constructor(
        private $element: ng.IAugmentedJQuery, 
        private $scope: ng.IScope
    ) {}
}

and compodoc I created the documentation and got the following:

constructor (MyClass: $ element: undefined, $ scope: undefined)

Can someone tell me how to fix the problem with the wrong types in the documentation?

+4
source share

Source: https://habr.com/ru/post/1686975/


All Articles