Comparing version 1.0.9 to 1.0.10
@@ -166,3 +166,3 @@ class DeboratorOptions { | ||
for (const prop in instance) { | ||
if (propsDone.indexOf(prop) < 0 && instance.hasOwnProperty(prop)) { //} && !c.prototype.hasOwnProperty(prop)) { | ||
if (propsDone.indexOf(prop) < 0 && instance.hasOwnProperty(prop)) { | ||
decorateFunction(instance, prop); | ||
@@ -169,0 +169,0 @@ } |
{ | ||
"name": "deborator", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "a TypeScript decorator, to add console.log() to all methods and properties of a class.", | ||
@@ -5,0 +5,0 @@ "main": "deborator.ts", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15875
4
312