Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
mikalai-snap committed Nov 29, 2024
1 parent a305c52 commit ea9cd7e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/Injectable.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 " +
Expand Down

0 comments on commit ea9cd7e

Please sign in to comment.