Skip to content
This repository has been archived by the owner on May 8, 2020. It is now read-only.

Commit

Permalink
fix(test): Drop redundant comment in test http store
Browse files Browse the repository at this point in the history
  • Loading branch information
zakhenry committed Jun 17, 2016
1 parent 3e89706 commit 634f1b1
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions src/browser/stores/http.store.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,7 @@ class TestModel extends Model {
class TestHttpStore extends HttpStore<TestModel> {

constructor(http: Http, loggerBase: Logger) {
/**
* @todo resolve why the <any>http is needed to suppress the following error:
*
* src/browser/stores/user.http.store.ts(13,17): error TS2345: Argument of type 'Http' is not
* assignable to parameter of type 'Http'. Property '_backend' is protected but type 'Http'
* is not a class derived from 'Http'.
*
* It may have something to do with both ubiquits/core and the current project
* depending on angular so TS thinks they could be different implementations?
*/
super(TestModel, <any>http, loggerBase);
super(TestModel, http, loggerBase);
}

protected endpoint(id?: string): string {
Expand Down

0 comments on commit 634f1b1

Please sign in to comment.