From ea9cd7e5168f6f265a8b65f5d298a0f7c3a713a8 Mon Sep 17 00:00:00 2001 From: Mikalai Silivonik Date: Fri, 29 Nov 2024 12:17:17 -0500 Subject: [PATCH] cleanup --- src/Injectable.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Injectable.ts b/src/Injectable.ts index 1d75bde..1bc4a36 100644 --- a/src/Injectable.ts +++ b/src/Injectable.ts @@ -80,7 +80,6 @@ export function Injectable( ); } - // const length = actualLength in fn ? fn[actualLength] as number : fn.length; if (fn.length !== 0 && fn.length !== dependencies.length) { throw new TypeError( "[Injectable] Function arity does not match the number of dependencies. Function has arity " +