As the title states I get the following TSLint error:
'$http' cannot be declared in the constructor
I couldn't find anything related to this error on the internet.
Here's my code:
module MyModule {
"use strict";
class MyService {
static $inject = ["$http"];
constructor(private $http: ng.IHttpService) {
}
}
}