Prettier 2.8.6
Playground link
# Options (if any):
--single-quote
Input:
const createIdFilter =
/** @param {string} id */
(id) => /** @param {string} id */
(id) => id
Output:
const createIdFilter =
/** @param {string} id */
(id /** @param {string} id */) => (id) => id
Expected behavior:
JSdoc block should not be moved inside previous function's arguments.
Might be linked to: #14563
Prettier 2.8.6
Playground link
# Options (if any): --single-quoteInput:
Output:
Expected behavior:
JSdoc block should not be moved inside previous function's arguments.
Might be linked to: #14563