From 7e4ebee9a0e56546d6dce76c5c48d6d13371c689 Mon Sep 17 00:00:00 2001 From: eug-vs Date: Fri, 12 Jun 2020 20:20:33 +0300 Subject: style: fix all eslint errors --- hooks/expandAuthor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hooks') diff --git a/hooks/expandAuthor.ts b/hooks/expandAuthor.ts index 1f33ff0..3b3e3df 100644 --- a/hooks/expandAuthor.ts +++ b/hooks/expandAuthor.ts @@ -25,7 +25,7 @@ export const expandAuthorHook = async (context: HookContext): Promise => { - const polls = await bluebird.map(context.result, (poll: any) => expandAuthor(poll)); + const polls = await bluebird.map(context.result, (poll: PollSchema) => expandAuthor(poll)); context.result = _.compact(polls); return context; }; -- cgit v1.2.3