Comparing version 5.4.1 to 5.4.2
@@ -139,2 +139,8 @@ "use strict"; | ||
} | ||
toString() { | ||
return this.name; | ||
} | ||
toJSON() { | ||
return this.name; | ||
} | ||
}; | ||
@@ -141,0 +147,0 @@ ModuleProxy = tslib_1.__decorate([ |
{ | ||
"name": "alar", | ||
"version": "5.4.1", | ||
"version": "5.4.2", | ||
"description": "Auto-Load And Remote.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -56,2 +56,8 @@ declare global { | ||
/** | ||
* Allowing the current module to be injected as a dependency bound to a | ||
* property of another class instance. | ||
*/ | ||
inject(route?: any): PropertyDecorator; | ||
/** | ||
* If the module is registered as remote service, however when no RPC | ||
@@ -62,8 +68,2 @@ * channel is available, by default, `instance()` will fail to the local | ||
noLocal(): this; | ||
/** | ||
* Allowing the current module to be injected as a dependency bound to a | ||
* property of another class instance. | ||
*/ | ||
inject(route?: any): PropertyDecorator; | ||
} | ||
@@ -70,0 +70,0 @@ } |
@@ -191,2 +191,10 @@ import hash = require("string-hash"); | ||
} | ||
toString() { | ||
return this.name; | ||
} | ||
toJSON() { | ||
return this.name; | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
160124
2630