Refactor import paths for 'Identifier' type
Unified the import paths of the 'Identifier' type across multiple files to ensure consistency. The 'Identifier' type is now imported from '../types/Identifier' instead of 'src/types/Identifier'. This change reduces ambiguity and aligns the import pattern throughout the codebase.
This commit is contained in:
@@ -1,4 +1,3 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import type { Inject } from '../decorators/Inject';
|
import type { Inject } from '../decorators/Inject';
|
||||||
import type { Register } from '../decorators/Register';
|
import type { Register } from '../decorators/Register';
|
||||||
import type { RegisterInstance } from '../decorators/RegisterInstance';
|
import type { RegisterInstance } from '../decorators/RegisterInstance';
|
||||||
@@ -8,6 +7,7 @@ import { ImplementsStatic } from '../helper/ImplementsStatic';
|
|||||||
import { DependencyResolutionError } from '../interfaces/Exceptions';
|
import { DependencyResolutionError } from '../interfaces/Exceptions';
|
||||||
import { IDependency } from '../interfaces/IDependency';
|
import { IDependency } from '../interfaces/IDependency';
|
||||||
import { ITSinjex, ITSinjex_ } from '../interfaces/ITSinjex';
|
import { ITSinjex, ITSinjex_ } from '../interfaces/ITSinjex';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* # TSinjex
|
* # TSinjex
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import { TSinjex } from '../classes/TSinjex';
|
import { TSinjex } from '../classes/TSinjex';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
import { InitDelegate } from '../types/InitDelegate';
|
import { InitDelegate } from '../types/InitDelegate';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import { TSinjex } from '../classes/TSinjex';
|
import { TSinjex } from '../classes/TSinjex';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* A decorator to register a class in the **TSinjex** DI (Dependency Injection) container.
|
* A decorator to register a class in the **TSinjex** DI (Dependency Injection) container.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import { TSinjex } from '../classes/TSinjex';
|
import { TSinjex } from '../classes/TSinjex';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
import { InitDelegate } from '../types/InitDelegate';
|
import { InitDelegate } from '../types/InitDelegate';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import { TSinjex } from '../classes/TSinjex';
|
import { TSinjex } from '../classes/TSinjex';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register a dependency.
|
* Register a dependency.
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import { TSinjex } from '../classes/TSinjex';
|
import { TSinjex } from '../classes/TSinjex';
|
||||||
import { DependencyResolutionError } from '../interfaces/Exceptions';
|
import { DependencyResolutionError } from '../interfaces/Exceptions';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolve a dependency.
|
* Resolve a dependency.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
import { Identifier } from 'src/types/Identifier';
|
|
||||||
import { DependencyResolutionError } from './Exceptions';
|
import { DependencyResolutionError } from './Exceptions';
|
||||||
|
import { Identifier } from '../types/Identifier';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Static TSInjex Interface
|
* Static TSInjex Interface
|
||||||
|
Reference in New Issue
Block a user