@armscye/container 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -5,6 +5,7 @@ import { ProviderToken } from './provider-token.interface';
|
|
|
5
5
|
export interface Container {
|
|
6
6
|
/**
|
|
7
7
|
* Find an entry of the container based on the provided token.
|
|
8
|
+
*
|
|
8
9
|
* @param token the provider token of the entry to look for
|
|
9
10
|
* @returns an entry from the container if defined
|
|
10
11
|
* @throws Error if no entry was found for the token
|
|
@@ -13,6 +14,7 @@ export interface Container {
|
|
|
13
14
|
get<T>(token: ProviderToken): T;
|
|
14
15
|
/**
|
|
15
16
|
* Check if an entry for the given provider token exists.
|
|
17
|
+
*
|
|
16
18
|
* @param token the provider token of the entry to look for
|
|
17
19
|
* @returns whether an entry for the given provider exists
|
|
18
20
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@armscye/container",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "A collection of shared standard TypeScript definitions",
|
|
5
5
|
"author": "Augustus Kamau",
|
|
6
6
|
"license": "MIT",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "3f346ded1e7a06cf1afac1ba29a6e4f5377d4664"
|
|
31
31
|
}
|