Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
[0.4.0] - 2025-10-09
🚀 Features
ImportDeclarationwithJsLabels(feat(formatter/sort-imports): WrapImportDeclarationwithJsLabels#14109) (leaysgur)return_typefor function-like node (feat(formatter): correct printing parameters withreturn_typefor function-like node #14084) (Dunqing)TSPropertySignature(feat(formatter): normalize key ofTSPropertySignature#14083) (Dunqing)TSTypeAliasDeclaration(feat(formatter): implement formatting forTSTypeAliasDeclaration#14040) (Dunqing)TSMappedType(feat(formatter): implement formatting forTSMappedType#14025) (Dunqing)Class(feat(formatter): correct printing forClass#14024) (Dunqing)TSConditionalType(feat(formatter): correct printing forTSConditionalType#14023) (Dunqing)TSTupletype(feat(formatter): implement formatting forTSTupletype#14019) (Dunqing)TSTypeParametersandTSTypeParameterInstantiation(feat(formatter): implement formatting forTSTypeParametersandTSTypeParameterInstantiation#13919) (Dunqing)TSTypeAssertion(feat(formatter): implement formatting forTSTypeAssertion#13911) (Dunqing)TSIntersectiontype(feat(formatter): implement formatting forTSIntersectiontype#13910) (Dunqing)TSUnionType(feat(formatter): implement formatting forTSUnionType#13893) (Dunqing)TSAsExpressionandTSSatisfiesExpression(feat(formatter): implement formatting forTSAsExpressionandTSSatisfiesExpression#13892) (Dunqing)🐛 Bug Fixes
TSIntersectionType(fix(formatter): Correct parentheses inTSIntersectionType#14098) (Noel Kim (김민혁))LogicalExpressionif it's aLogicalExpressionand both have the sameoperator(fix(formatter): merge the right side ofLogicalExpressionif it's aLogicalExpressionand both have the sameoperator#14097) (Dunqing)ObjectPattern(fix(formatter): correct printing comments within the type annotation of ArrayPattern andObjectPattern#14077) (Dunqing)TSXXXTypenodes (fix(formatter): correct preserving parentheses forTSXXXTypenodes #14022) (Dunqing)NewExpressionwhose callee is aTSNonNullExpressionwithTaggedTemplateExpression(fix(formatter): missing parenthesis forNewExpressionwhose callee is aTSNonNullExpressionwithTaggedTemplateExpression#14021) (Dunqing)TSNonNullExpressionorAstNodes::ChainExpressionforStaticMemberExpression(fix(formatter): skip the parent node if it is aTSNonNullExpressionorAstNodes::ChainExpressionforStaticMemberExpression#14020) (Dunqing)declarefunction (fix(formatter): missing semicolon fordeclarefunction #13928) (Dunqing)🚜 Refactor
FunctionandArrowFunctionExpressionwith types (refactor(formatter): improve formatting ofFunctionandArrowFunctionExpressionwith types #14070) (Dunqing).js(refactor(oxfmt): rename build script to.js#14046) (overlookmotel)