https://github.com/prettier/prettier/issues/19518 - 2nd pass

बनाया गया Diff कभी समाप्त नहीं होता
0 हटाए गए
22 लाइनें
2 जोड़े गए
22 लाइनें
const t = html`
const t = html`
<ol>
<ol>
${items.map(
${items.map(
(entry) => html`
(entry) => html`
<li>
<li>
${
${
entry.children
entry.children
? html`
? html`
<ol>
<ol>
${entry.children.map(
${entry.children.map(
(child) => html`<li>${child.title}</li>`,
(child) => html`<li>${child.title}</li>`,
)}
)}
</ol>
</ol>
`
`
: entry.title
: entry.title
}
}
</li>
</li>
`,
`,
)}
)}
</ol>
</ol>
`;
`;