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

Created Diff never expires
0 removals
20 lines
10 additions
22 lines
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>
`;
`;