Commit Graph
247 Commits
Author SHA1 Message Date
fisker Cheung 1b68844e4d Fix parentheses for TSInstantiationExpression (#20027) 2026-09-12 09:49:06 +08:00
Miodrag Obradovicandfisker 5fd5b6908b Keep an own-line comment before a satisfies or as type on its own line (#19939)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-31 06:48:06 +08:00
Lazizbek Ergashevandfisker 11d55846a0 Keep comment after destructuring pattern out of the pattern (#19905)
Co-authored-by: fisker <lionkay@gmail.com>
2026-08-23 10:48:09 +08:00
fisker Cheung e7b8a4f86e Fix comments around heritage clauses (#19897) 2026-08-20 18:53:23 +08:00
Konv Suu f5927d5199 Keep comment on the same line in property signature (#19688) 2026-07-22 18:10:36 +08:00
fisker 82966bd49f Clean released changelog
Keep changelog_unreleased/javascript/19629.md to announce in minor release again
2026-07-21 14:09:27 +08:00
Konv Suu 5f2c401ab0 Preserve quotes for TSMethodSignature nodes named new (#19621) 2026-07-14 17:33:39 +08:00
fisker 4ae1707539 Clean changelog_unreleased 2026-07-10 00:22:23 +08:00
fisker Cheung cbee7377a1 Remove space in empty object type (#19583) 2026-07-09 17:34:22 +08:00
fisker Cheung 3d063b57b1 Ignore dangling comments when checking type parameter comments (#19572) 2026-07-09 11:34:36 +08:00
Kirk Waiblinger a7ce99aa57 Handle comments in export declarations between type and type name. (#19565) 2026-07-08 07:25:26 +08:00
fisker d141f955ea Remove changelog for released changes 2026-06-29 19:44:49 +08:00
Liamandfisker 330b83d7d5 Allow decorators to be used with declare on class fields (#19492)
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-29 19:22:38 +08:00
fisker 05cf896cfc Clean changelog_unreleased 2026-06-27 18:33:45 +08:00
61f09e4484 Fix comment placement in assignment-like type aliases (TSTypeAliasDeclaration) (#19410)
Co-authored-by: WhoamiI00 <anktiisop12@gmail.com>
Co-authored-by: fisker <lionkay@gmail.com>
2026-06-24 17:43:11 +08:00
fisker Cheung d1c3f659ee Fix missing parentheses around TSInstantiationExpression (#19442) 2026-06-24 16:57:23 +08:00
fisker Cheung 2eaad40bb2 Revert "Print ; for module declaration and declare function" (#18852) (#19333) 2026-06-10 09:22:01 +08:00
b0c5b388cd Fix trailing comment in abstract method parameters (#19200)
Co-authored-by: itsybitsybootsy <lammlu19>
Co-authored-by: fisker <lionkay@gmail.com>
2026-05-28 03:57:39 +08:00
fisker Cheung 4025d3e226 Avoid unnecessary semicolon before call signatures (#19212) 2026-05-27 06:10:32 +08:00
fisker Cheung 0eda012bcb Print ; for module declaration and declare function without body (#18852) 2026-02-05 10:19:28 +08:00
fisker Cheung 8e6137818d Prevent moving trailing comment in class properties (#18837) 2026-02-02 18:31:13 +08:00
fisker Cheung c65761ac3a Align leading comment of union type elements (#18833) 2026-02-02 16:04:17 +08:00
fisker Cheung 60cf4bd86e Rewrite union type print (#18827) 2026-02-02 03:46:49 +08:00
fisker Cheung 96546f353f Fix printing comment for the last operand of union types (#18798) 2026-01-30 01:27:45 +08:00
Konv Suuandfisker Cheung e8413ba558 Add parentheses to conditional types in type parameter constraint (#18760)
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2026-01-28 18:01:35 +08:00
fisker Cheung 187680371e Print leading semicolon before type cast comments (#18751) 2026-01-27 22:41:29 +08:00
fisker Cheungandautofix-ci[bot] 2d3b846607 Print semicolon before type assertion (#18738)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-01-24 17:50:44 +08:00
fisker Cheung 183c115148 Keep comments in mapped type inline (#18731) 2026-01-24 10:17:31 +08:00
fisker Cheung e4804b1439 Respect quoteProps in method signature (#18702) 2026-01-21 11:59:21 +08:00
fisker Cheung 8b84f37de0 Fix quoteProps option check in enum (#18703) 2026-01-21 11:57:38 +08:00
fisker Cheung d28dd89e41 Respect quoteProps in enum (#18700) 2026-01-21 11:26:43 +08:00
fisker Cheung 29c3f97dec Keep ChainExpression AST unchanged (#18661) 2026-01-21 08:26:02 +08:00
fisker Cheung 22032d5aa4 Review ChainExpression check (#18659) 2026-01-17 04:46:43 +08:00
fisker Cheung 5ce41ed535 Don't skip ChainExpression in isCallExpression (#18654) 2026-01-16 20:08:01 +08:00
fisker Cheung ece892d6f0 Don't skip ChainExpression in isMemberExpression (#18652) 2026-01-16 11:10:47 +08:00
Lindsay Glennandfisker 72a182f594 Normalize union type comment alignment in TypeScript conditional types (#18644)
Co-authored-by: fisker <lionkay@gmail.com>
2026-01-15 20:31:27 +08:00
fisker Cheung 6e85d4a785 Remove arrow function return type check (#18589) 2026-01-14 06:56:11 +08:00
fisker Cheung 1b36f27d8e Improve comment print inside type arguments (#18619) 2026-01-13 22:40:49 +08:00
fisker Cheung 88ffc016db Fix linebreak in member chain (#17251) 2025-12-29 15:25:29 +08:00
Ulrich Starkandautofix-ci[bot] f2f97751a1 Fix line comments jumping past member lookups in as expressions (#18522)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-12-25 20:43:22 +08:00
fisker Cheung 9bf7f1b971 Consistent formatting for "new expression" with type cast (#18507) 2025-12-21 16:54:45 +08:00
fisker ddfa283b0d Clean changelog_unreleased 2025-12-03 12:37:14 +08:00
fisker Cheung ca02b37489 Fix unstable comment print (#18395) 2025-12-02 03:24:17 +08:00
fisker Cheung 7efb988c67 Fix comment in union type get duplicated (#18393) 2025-12-02 01:46:31 +08:00
fisker 081b84695b Clean changelog_unreleased 2025-11-29 04:59:00 +08:00
fisker Cheung 29a11ae1ae Fix comment in empty type literal (#18364) 2025-11-29 00:00:52 +08:00
fisker c4905e5be9 Clean changelog_unreleased 2025-11-27 16:31:35 +08:00
fisker Cheungandautofix-ci[bot] 43236e234e Add blog post for v3.7 (#18323)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2025-11-27 16:31:22 +08:00
81859299b9 Fix misplacement of comments after arrow (#17421)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker Cheung <lionkay@gmail.com>
2025-11-17 21:10:01 +08:00
48b4ff97ad Fix the union type that contains an extra empty line (#18197)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: fisker <lionkay@gmail.com>
2025-11-17 20:13:03 +08:00