We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1752dea commit a6e93eaCopy full SHA for a6e93ea
apps/svelte.dev/scripts/sync-docs/types.ts
@@ -89,7 +89,7 @@ export async function get_types(code: string, statements: ts.NodeArray<ts.Statem
89
.map(({ name, text }) => strip_origin(name ? `\`${name.escapedText}\`` : text))
90
.join('');
91
} else {
92
- comment = strip_origin(jsDoc.comment);
+ comment = strip_origin(jsDoc.comment ?? '');
93
}
94
95
if (jsDoc.tags) {
0 commit comments