https://github.com/prettier/prettier/issues/19518 - 1st pass

Erstellt Diff läuft nie ab
0 Entfernungen
20 Zeilen
10 Hinzufügungen
22 Zeilen
const t = html`
const t = html`
<ol>
<ol>
${items.map(
${items.map(
(entry) => html`
(entry) => html`
<li>
<li>
${entry.children
${
? html`
entry.children
<ol>
? html`
${entry.children.map(
<ol>
${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>
`;
`;