Skip to content

Commit a6e93ea

Browse files
authored
oops (#1090)
* oops * alternative
1 parent 1752dea commit a6e93ea

File tree

1 file changed

+1
-1
lines changed
  • apps/svelte.dev/scripts/sync-docs

1 file changed

+1
-1
lines changed

apps/svelte.dev/scripts/sync-docs/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ export async function get_types(code: string, statements: ts.NodeArray<ts.Statem
8989
.map(({ name, text }) => strip_origin(name ? `\`${name.escapedText}\`` : text))
9090
.join('');
9191
} else {
92-
comment = strip_origin(jsDoc.comment);
92+
comment = strip_origin(jsDoc.comment ?? '');
9393
}
9494

9595
if (jsDoc.tags) {

0 commit comments

Comments
 (0)