From 068783f45607a452831cef7d757e7a424c4dc262 Mon Sep 17 00:00:00 2001 From: James Monger Date: Thu, 15 Nov 2018 12:20:39 +0000 Subject: [PATCH] Fix InversifyJS#995: Make HandlerDecorator compatible with ES3 --- src/interfaces.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/interfaces.ts b/src/interfaces.ts index 67f8ff48..597c6997 100644 --- a/src/interfaces.ts +++ b/src/interfaces.ts @@ -32,7 +32,7 @@ namespace interfaces { export interface Controller { } export interface HandlerDecorator { - (target: any, key: string, value: any): void; + (target: object, key: string, value?: any): void; } export interface ConfigFunction {