@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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sveltejs/kit",
3
- "version": "1.0.0-next.485",
3
+ "version": "1.0.0-next.486",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -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) ||