Files
test-repo/changelog_unreleased/javascript/19652.md
T

289 B

Fix misplaced type cast comments (#19652 by @fisker)

// Input
foo = a ? b : (/** @type {Foo} */ (foo) ?? bar);

// Prettier stable
foo = a ? b : /** @type {Foo} */ ((foo) ?? bar);

// Prettier main
foo = a ? b : (/** @type {Foo} */ (foo) ?? bar);