assemblerjs 0.8.0 → 0.8.1
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.
- package/dist/index.d.ts +2 -2
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -120,7 +120,7 @@ declare type ArrayLengthMutationKeys = 'splice' | 'push' | 'pop' | 'shift' | 'un
|
|
|
120
120
|
*/
|
|
121
121
|
export declare const Assemblage: <T>(definition?: AssemblageDefinition) => ClassDecorator;
|
|
122
122
|
|
|
123
|
-
declare interface AssemblageDefinition {
|
|
123
|
+
export declare interface AssemblageDefinition {
|
|
124
124
|
singleton?: false;
|
|
125
125
|
events?: string[];
|
|
126
126
|
inject?: Injection<unknown>[];
|
|
@@ -353,7 +353,7 @@ export declare class Assembler extends EventManager implements AbstractAssembler
|
|
|
353
353
|
/**
|
|
354
354
|
* Create a custom decorator that adds a function called after the original constructor
|
|
355
355
|
* and that can wrap an `Assemblage` with its own parameters decorator (e.g. @Use, @Context, ...).
|
|
356
|
-
* Note that it must be placed before the `
|
|
356
|
+
* Note that it must be placed before the `Assemblage` decorator.
|
|
357
357
|
*
|
|
358
358
|
* @param { function(): void | undefined } fn A function to execute after `super`.
|
|
359
359
|
* Do not use arrow function here if access to `this` is required.
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "assemblerjs",
|
|
3
3
|
"description": "A general purpose and zero-dependency Dependency Injection library for node and browser.",
|
|
4
|
-
"version": "0.8.
|
|
4
|
+
"version": "0.8.1",
|
|
5
5
|
"author": "Benoît LAHOZ <info@benoitlahoz.io>",
|
|
6
6
|
"bugs": "https://github.com/benoitlahoz/assemblerjs/issues",
|
|
7
7
|
"homepage": "https://github.com/benoitlahoz/assemblerjs#README",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
],
|
|
30
30
|
"license": "MIT",
|
|
31
31
|
"type": "module",
|
|
32
|
-
"main": "./dist/index.
|
|
32
|
+
"main": "./dist/index.js",
|
|
33
33
|
"module": "./dist/index.js",
|
|
34
34
|
"types": "./dist/index.d.ts",
|
|
35
35
|
"exports": {
|