@sveltejs/kit 1.0.0-next.448 → 1.0.0-next.449

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.448",
3
+ "version": "1.0.0-next.449",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/sveltejs/kit",
@@ -561,11 +561,11 @@ export function tweak_types(content, names) {
561
561
  );
562
562
  } else {
563
563
  // prevent "type X is imported but not used" (isn't silenced by @ts-nocheck) when svelte-check runs
564
- code.append(`;${type};`);
564
+ code.append(`;null as any as ${type};`);
565
565
  }
566
566
  } else {
567
567
  // prevent "type X is imported but not used" (isn't silenced by @ts-nocheck) when svelte-check runs
568
- code.append(`;${type};`);
568
+ code.append(`;null as any as ${type};`);
569
569
  }
570
570
 
571
571
  modified = true;