From 8490e0de5e34beb18447c48e4620185f5408e56e Mon Sep 17 00:00:00 2001 From: Michael Bull Date: Tue, 27 Mar 2018 17:55:32 +0100 Subject: [PATCH] Mark abstract class constructor as protected --- src/pages/story-list.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/story-list.ts b/src/pages/story-list.ts index cbc2902..30552e2 100644 --- a/src/pages/story-list.ts +++ b/src/pages/story-list.ts @@ -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;