Skip to content

Commit

Permalink
Mark abstract class constructor as protected
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbull committed Mar 27, 2018
1 parent bf4d534 commit 8490e0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/story-list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export abstract class StoryList implements RoutableComponentCanActivate, Routabl
protected readonly router: Router;
readonly route: string;

constructor(api: HackerNewsApi, router: Router, route: string) {
protected constructor(api: HackerNewsApi, router: Router, route: string) {
this.api = api;
this.router = router;
this.route = route;
Expand Down

0 comments on commit 8490e0d

Please sign in to comment.