diff --git a/assets/highlight.css b/assets/highlight.css
index 4a4d100..7838b4d 100644
--- a/assets/highlight.css
+++ b/assets/highlight.css
@@ -13,6 +13,10 @@
--dark-hl-5: #569CD6;
--light-hl-6: #795E26;
--dark-hl-6: #DCDCAA;
+ --light-hl-7: #0070C1;
+ --dark-hl-7: #4FC1FF;
+ --light-hl-8: #AF00DB;
+ --dark-hl-8: #C586C0;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}
@@ -25,6 +29,8 @@
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
+ --hl-7: var(--light-hl-7);
+ --hl-8: var(--light-hl-8);
--code-background: var(--light-code-background);
} }
@@ -36,6 +42,8 @@
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
+ --hl-7: var(--dark-hl-7);
+ --hl-8: var(--dark-hl-8);
--code-background: var(--dark-code-background);
} }
@@ -47,6 +55,8 @@
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
+ --hl-7: var(--light-hl-7);
+ --hl-8: var(--light-hl-8);
--code-background: var(--light-code-background);
}
@@ -58,6 +68,8 @@
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
+ --hl-7: var(--dark-hl-7);
+ --hl-8: var(--dark-hl-8);
--code-background: var(--dark-code-background);
}
@@ -68,4 +80,6 @@
.hl-4 { color: var(--hl-4); }
.hl-5 { color: var(--hl-5); }
.hl-6 { color: var(--hl-6); }
+.hl-7 { color: var(--hl-7); }
+.hl-8 { color: var(--hl-8); }
pre, code { background: var(--code-background); }
diff --git a/classes/classes_TSinjex.TSinjex.html b/classes/classes_TSinjex.TSinjex.html
index 07050a5..d5c8399 100644
--- a/classes/classes_TSinjex.TSinjex.html
+++ b/classes/classes_TSinjex.TSinjex.html
@@ -1,4 +1,4 @@
-
diff --git a/classes/interfaces_Exceptions.DependencyResolutionError.html b/classes/interfaces_Exceptions.DependencyResolutionError.html
index ab3fe43..3440ad1 100644
--- a/classes/interfaces_Exceptions.DependencyResolutionError.html
+++ b/classes/interfaces_Exceptions.DependencyResolutionError.html
@@ -1,6 +1,6 @@
-
DependencyResolutionError | ts-injex - v1.1.0Class DependencyResolutionError
diff --git a/classes/interfaces_Exceptions.InitializationError.html b/classes/interfaces_Exceptions.InitializationError.html
index 050098a..834f287 100644
--- a/classes/interfaces_Exceptions.InitializationError.html
+++ b/classes/interfaces_Exceptions.InitializationError.html
@@ -1,6 +1,6 @@
-
InitializationError | ts-injex - v1.1.0Class InitializationError
diff --git a/classes/interfaces_Exceptions.InjectorError.html b/classes/interfaces_Exceptions.InjectorError.html
index 7c61186..7e95db4 100644
--- a/classes/interfaces_Exceptions.InjectorError.html
+++ b/classes/interfaces_Exceptions.InjectorError.html
@@ -1,6 +1,6 @@
-
InjectorError | ts-injex - v1.1.0
diff --git a/classes/interfaces_Exceptions.NoInstantiationMethodError.html b/classes/interfaces_Exceptions.NoInstantiationMethodError.html
index 6458f27..26781b5 100644
--- a/classes/interfaces_Exceptions.NoInstantiationMethodError.html
+++ b/classes/interfaces_Exceptions.NoInstantiationMethodError.html
@@ -1,6 +1,6 @@
-
NoInstantiationMethodError | ts-injex - v1.1.0Class NoInstantiationMethodError
diff --git a/classes/interfaces_Exceptions.TSinjexError.html b/classes/interfaces_Exceptions.TSinjexError.html
index d55f814..9ab6169 100644
--- a/classes/interfaces_Exceptions.TSinjexError.html
+++ b/classes/interfaces_Exceptions.TSinjexError.html
@@ -1,5 +1,5 @@
-
TSinjexError | ts-injex - v1.1.0 Index
Constructors
constructor
+
TSinjexError | ts-injex - v1.2.0 Constructors
Properties
Optional
stack
stack?: string
Static
Optional
prepareStackTrace
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)
Properties
Optional
stack
stack?: string
Static
Optional
prepareStackTrace
prepareStackTrace?: ((err: Error, stackTraces: CallSite[]) => any)
Static
stackTraceLimit
stackTraceLimit: number
Methods
Static
captureStackTrace
- captureStackTrace(targetObject, constructorOpt?): void
Parameters
- targetObject: object
Optional
constructorOpt: Function
Returns void
+Parameters
- targetObject: object
Optional
constructorOpt: Function
Returns void
diff --git a/coverage/badges/badge-branches.svg b/coverage/badges/badge-branches.svg
index b7cabab..822861e 100644
--- a/coverage/badges/badge-branches.svg
+++ b/coverage/badges/badge-branches.svg
@@ -1 +1 @@
-
\ No newline at end of file
+
\ No newline at end of file
diff --git a/coverage/coverage-summary.json b/coverage/coverage-summary.json
index 57ba23e..92e5f78 100644
--- a/coverage/coverage-summary.json
+++ b/coverage/coverage-summary.json
@@ -1,9 +1,9 @@
-{"total": {"lines":{"total":121,"covered":118,"skipped":0,"pct":97.52},"statements":{"total":128,"covered":124,"skipped":0,"pct":96.87},"functions":{"total":37,"covered":36,"skipped":0,"pct":97.29},"branches":{"total":76,"covered":69,"skipped":0,"pct":90.78},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
+{"total": {"lines":{"total":121,"covered":118,"skipped":0,"pct":97.52},"statements":{"total":128,"covered":124,"skipped":0,"pct":96.87},"functions":{"total":37,"covered":36,"skipped":0,"pct":97.29},"branches":{"total":78,"covered":71,"skipped":0,"pct":91.02},"branchesTrue":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/TSinjex/TSinjex/src/classes/TSinjex.ts": {"lines":{"total":19,"covered":19,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":21,"covered":21,"skipped":0,"pct":100},"branches":{"total":11,"covered":11,"skipped":0,"pct":100}}
,"/home/runner/work/TSinjex/TSinjex/src/decorators/Inject.ts": {"lines":{"total":29,"covered":28,"skipped":0,"pct":96.55},"functions":{"total":9,"covered":9,"skipped":0,"pct":100},"statements":{"total":30,"covered":29,"skipped":0,"pct":96.66},"branches":{"total":25,"covered":22,"skipped":0,"pct":88}}
,"/home/runner/work/TSinjex/TSinjex/src/decorators/Register.ts": {"lines":{"total":25,"covered":25,"skipped":0,"pct":100},"functions":{"total":8,"covered":8,"skipped":0,"pct":100},"statements":{"total":25,"covered":25,"skipped":0,"pct":100},"branches":{"total":11,"covered":10,"skipped":0,"pct":90.9}}
,"/home/runner/work/TSinjex/TSinjex/src/decorators/RegisterInstance.ts": {"lines":{"total":5,"covered":5,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":6,"covered":6,"skipped":0,"pct":100},"branches":{"total":4,"covered":4,"skipped":0,"pct":100}}
-,"/home/runner/work/TSinjex/TSinjex/src/functions/inject.ts": {"lines":{"total":22,"covered":22,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":25,"covered":24,"skipped":0,"pct":96},"branches":{"total":25,"covered":22,"skipped":0,"pct":88}}
+,"/home/runner/work/TSinjex/TSinjex/src/functions/inject.ts": {"lines":{"total":22,"covered":22,"skipped":0,"pct":100},"functions":{"total":6,"covered":6,"skipped":0,"pct":100},"statements":{"total":25,"covered":24,"skipped":0,"pct":96},"branches":{"total":27,"covered":24,"skipped":0,"pct":88.88}}
,"/home/runner/work/TSinjex/TSinjex/src/functions/register.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/TSinjex/TSinjex/src/functions/resolve.ts": {"lines":{"total":3,"covered":3,"skipped":0,"pct":100},"functions":{"total":1,"covered":1,"skipped":0,"pct":100},"statements":{"total":3,"covered":3,"skipped":0,"pct":100},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
,"/home/runner/work/TSinjex/TSinjex/src/interfaces/Exceptions.ts": {"lines":{"total":15,"covered":13,"skipped":0,"pct":86.66},"functions":{"total":5,"covered":4,"skipped":0,"pct":80},"statements":{"total":15,"covered":13,"skipped":0,"pct":86.66},"branches":{"total":0,"covered":0,"skipped":0,"pct":100}}
diff --git a/coverage/lcov-report/classes/TSinjex.ts.html b/coverage/lcov-report/classes/TSinjex.ts.html
index b42e1eb..821c756 100644
--- a/coverage/lcov-report/classes/TSinjex.ts.html
+++ b/coverage/lcov-report/classes/TSinjex.ts.html
@@ -451,7 +451,7 @@ export class TSinjex implements ITSinjex {
- Inject<T, U>(identifier, init?, isNecessary?): ((target: unknown, propertyKey: string | symbol) => void)
TSinjex
The main class for the Dependency Injection Container TSinjex.
+- Preparing search index...
- The search index is not available
ts-injex - v1.2.0Class TSinjex
TSinjex
The main class for the Dependency Injection Container TSinjex.
Decorators
See
Implements
Index
Constructors
Implements
Index
Constructors
Properties
Methods
Constructors
Private
constructorPrivate constructor to prevent direct instantiation.
-Returns TSinjex
Properties
Private
Readonly
_dependenciesThe dependencies map.
-Private
Static
_instanceThe singleton instance of the TSinjex class.
-Methods
register
Register a dependency.
+Returns TSinjex
Properties
Private
Readonly
_dependenciesThe dependencies map.
+Private
Static
_instanceThe singleton instance of the TSinjex class.
+Methods
register
Register a dependency.
Type Parameters
Parameters
The identifier of the dependency.
The dependency to register.
If true, the dependency is deprecated => a warning is logged when the dependency is resolved.
-Returns void
resolve
Resolve a dependency
+Returns void
resolve
Resolve a dependency
Type Parameters
Parameters
The identifier of the dependency
If true, throws an error if the dependency is not found
Returns undefined | T
The resolved dependency or undefined if the dependency is not found
Throws
A DependencyResolutionError if the dependency is not found and necessary.
-Static
getGet the singleton TSInjex instance.
+Static
getGet the singleton TSInjex instance.
Returns ITSinjex
The singleton instance.
-Static
registerStatic implementation of ITSinjex.register.
+Static
registerStatic implementation of ITSinjex.register.
Type Parameters
Parameters
Returns void
See
ITSinjex.register
-Inherit Doc
Static
resolveStatic implementation of ITSinjex.resolve.
+Inherit Doc
Static
resolveStatic implementation of ITSinjex.resolve.
Type Parameters
Parameters
Returns undefined | T
See
ITSinjex.resolve
-Inherit Doc
Settings
On This Page
Constructors
Properties
Methods
Inherit Doc
Settings
On This Page
Constructors
Properties
Methods