@putout/printer
Advanced tools
Comparing version 8.41.0 to 8.42.0
@@ -25,3 +25,3 @@ 'use strict'; | ||
if (!path.parentPath.parentPath.isTSTypeParameterInstantiation()) { | ||
if (!isTSTypeLiteralWithOneMember(path)) { | ||
write(';'); | ||
@@ -34,1 +34,8 @@ write.newline(); | ||
}; | ||
function isTSTypeLiteralWithOneMember({parentPath}) { | ||
if (!parentPath.parentPath.isTSTypeParameterInstantiation()) | ||
return false; | ||
return parentPath.node.members.length === 1; | ||
} |
{ | ||
"name": "@putout/printer", | ||
"version": "8.41.0", | ||
"version": "8.42.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
221945
4902