@sveltejs/kit 1.0.0-next.485 → 1.0.0-next.486
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -489,7 +489,7 @@ export function tweak_types(content, is_server) {
|
|
|
489
489
|
if (node.jsDoc) {
|
|
490
490
|
// @ts-ignore
|
|
491
491
|
for (const comment of node.jsDoc) {
|
|
492
|
-
for (const tag of comment.tags) {
|
|
492
|
+
for (const tag of comment.tags ?? []) {
|
|
493
493
|
if (ts.isJSDocTypeTag(tag)) {
|
|
494
494
|
const is_fn =
|
|
495
495
|
ts.isFunctionDeclaration(value) ||
|