node-dependency-injection 3.0.0-alpha.5 → 3.0.0-alpha.6

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.
@@ -225,11 +225,14 @@ var Autowire = /*#__PURE__*/function () {
225
225
  try {
226
226
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
227
227
  var parameterDeclaration = _step3.value;
228
- var typeNameForArgument = parameterDeclaration.parameter.typeAnnotation.typeAnnotation.typeName.name;
229
228
 
230
- var argumentId = this._getIdentifierFromImports(typeNameForArgument, body, parsedFile);
229
+ try {
230
+ var typeNameForArgument = parameterDeclaration.parameter.typeAnnotation.typeAnnotation.typeName.name;
231
231
 
232
- definition.addArgument(new _Reference["default"](argumentId), definition["abstract"]);
232
+ var argumentId = this._getIdentifierFromImports(typeNameForArgument, body, parsedFile);
233
+
234
+ definition.addArgument(new _Reference["default"](argumentId), definition["abstract"]);
235
+ } catch (e) {}
233
236
  }
234
237
  } catch (err) {
235
238
  _iterator3.e(err);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-dependency-injection",
3
- "version": "3.0.0-alpha.5",
3
+ "version": "3.0.0-alpha.6",
4
4
  "description": "The NodeDependencyInjection component allows you to standardize and centralize the way objects are constructed in your application.",
5
5
  "main": "dist/lib/index.js",
6
6
  "directories": {