From 703caed506971fec19f42e9be4985b8b53049f1f Mon Sep 17 00:00:00 2001 From: Pavel Birukov Date: Thu, 6 Sep 2018 10:24:27 +0300 Subject: [PATCH] Improve Bundler annotation --- src/infrastructure/Bundler.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/infrastructure/Bundler.ts b/src/infrastructure/Bundler.ts index 90a71ced..c1a10b5e 100644 --- a/src/infrastructure/Bundler.ts +++ b/src/infrastructure/Bundler.ts @@ -3,7 +3,7 @@ import { BaseModelContructorOptions } from './BaseService'; function Bundler( services: T, -): new (...args: any[]) => { [K in keyof T]: InstanceType } { +): new (baseOptions: BaseModelContructorOptions) => { [K in keyof T]: InstanceType } { const combined = { ...services as object } as T; interface BundleClass { [K: string]: BaseService;