Skip to content

Commit 541ec82

Browse files
committed
Build pure types script cosmetic improvements
1 parent 5b3012b commit 541ec82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

scripts/build-entries-and-types/build-types-pure.mjs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ function wrapInNamespace(content) {
143143
if (line.trim() || res.at(-1)?.trim()) res.push(line);
144144
return res;
145145
}, [])
146+
.flatMap(line => line.split('\n'))
146147
.map(line => line ? ` ${ line }` : '')
147148
.join('\n');
148149

0 commit comments

Comments
 (0)