Comparing version 0.0.2 to 0.0.3
@@ -69,3 +69,5 @@ module.exports = newStruct; | ||
for (key in ext) { | ||
create.props.splice(create.props.indexOf(key), 1); | ||
if (typeof ext[key] != 'function') { | ||
create.props.splice(create.props.indexOf(key), 1); | ||
} | ||
} | ||
@@ -72,0 +74,0 @@ |
{ | ||
"name": "new-struct", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Structs inspired from Golang", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
3597
75