babel-plugin-parameter-decorator
Advanced tools
Comparing version 1.0.13 to 1.0.14
@@ -186,3 +186,2 @@ "use strict"; | ||
(path.get('params') || []).slice().forEach(function (param) { | ||
var replacement = getParamReplacement(param); | ||
var decorators = param.node.decorators || []; | ||
@@ -249,2 +248,3 @@ var transformable = decorators.length; | ||
if (transformable) { | ||
var replacement = getParamReplacement(param); | ||
param.replaceWith(replacement); | ||
@@ -251,0 +251,0 @@ } |
{ | ||
"name": "babel-plugin-parameter-decorator", | ||
"version": "1.0.13", | ||
"version": "1.0.14", | ||
"description": "Function parameter decorator transform plugin for babel v7, just like typescript.", | ||
@@ -5,0 +5,0 @@ "main": "lib/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
14397