Skip to content

Commit

Permalink
chore: @putout/printer: v5.5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
coderaiser committed Sep 20, 2023
1 parent 4b84e6e commit 6f7f567
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
2023.09.20, v5.5.0

feature:
- 4b84e6e @putout/printer: maybePrintTypeAnnotation

2023.09.20, v5.4.0

feature:
Expand Down
1 change: 0 additions & 1 deletion lib/tokenize/expressions/class/class-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ function ClassProperty(path, printer) {
print('__key');
maybe.print(optional, '?');

debugger;
maybePrintTypeAnnotation(path, printer);

if (exists(value)) {
Expand Down
2 changes: 1 addition & 1 deletion lib/tokenize/literals/maybe-type-annotation.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports.maybePrintTypeAnnotation = maybePrintTypeAnnotation;

module.exports.maybeTypeAnnotation = (visit) => (path, printer, semantics) => {
visit(path, printer, semantics);
debugger;

maybePrintTypeAnnotation(path, printer);
};

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@putout/printer",
"version": "5.4.0",
"version": "5.5.0",
"type": "commonjs",
"author": "coderaiser <mnemonic.enemy@gmail.com> (https://github.com/coderaiser)",
"description": "Simplest possible opinionated Babel AST printer for 🐊Putout",
Expand Down

0 comments on commit 6f7f567

Please sign in to comment.