From 816a6d128aaa3e3b511969cafa1bf29fc4221df9 Mon Sep 17 00:00:00 2001 From: "Max P." Date: Wed, 12 Mar 2025 09:34:53 +0100 Subject: [PATCH] refactor: add region tags for overloads in Register.ts --- src/decorators/Register.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/decorators/Register.ts b/src/decorators/Register.ts index b733e89..69ea5f3 100644 --- a/src/decorators/Register.ts +++ b/src/decorators/Register.ts @@ -2,6 +2,8 @@ import { InitDelegate } from 'src/types/InitDelegate'; import { TSinjex } from '../classes/TSinjex'; import { Identifier } from '../types/Identifier'; +//#region Overloads + /** * A decorator to register a class in the **TSinjex** DI (Dependency Injection) container. * @template TargetType The type of the class to be registered. @@ -102,6 +104,8 @@ export function Register< deprecated?: boolean, ): (constructor: TargetType, ...args: unknown[]) => void; +//#endregion Overloads + // eslint-disable-next-line jsdoc/require-jsdoc export function Register< TargetType extends new (...args: unknown[]) => InstanceType,