howdylikes

Google Developersってわかりづらいよね

Tslint classのメンバ変数はpublicを先にかく

tslintでこんなエラーが Declaration of public static member variable not allowed to appear after declaration of private instance member variable

これはダメで

class AppCtrl {
    private users;
    public static $inject = ["$q"];
    constructor(private $q) {
        console.log("AppCtrl");
    }
}

こうしろってことですな。

class AppCtrl {
    public static $inject = ["$q"];
    private users;
   constructor(private $q) {
        console.log("AppCtrl");
    }
}