@putout/printer
Advanced tools
Comparing version 8.45.0 to 8.46.0
@@ -10,2 +10,3 @@ 'use strict'; | ||
module.exports.printParams = (path, printer, semantics, customization = {}) => { | ||
const {extra, typeParameters} = path.node; | ||
const { | ||
@@ -17,5 +18,9 @@ params = parseParams(path), | ||
const {print, traverse} = printer; | ||
const { | ||
print, | ||
maybe, | ||
traverse, | ||
} = printer; | ||
if (path.node.typeParameters) | ||
if (typeParameters) | ||
traverse(path.get('typeParameters')); | ||
@@ -43,2 +48,4 @@ | ||
maybe.print(extra?.trailingComma, ','); | ||
printBraceClose(path, { | ||
@@ -45,0 +52,0 @@ print, |
{ | ||
"name": "@putout/printer", | ||
"version": "8.45.0", | ||
"version": "8.46.0", | ||
"type": "commonjs", | ||
@@ -5,0 +5,0 @@ "author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)", |
Sorry, the diff of this file is not supported yet
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
222882
4919