Skip to content

Commit

Permalink
fix: import Svelte types from svelte/compiler (#11188)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Dec 4, 2023
1 parent d7d0b02 commit 8c3a992
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/neat-hats-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

fix: import Svelte types from svelte/compiler
2 changes: 1 addition & 1 deletion packages/kit/src/exports/public.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import 'svelte'; // pick up `declare module "*.svelte"`
import 'vite/client'; // pick up `declare module "*.jpg"`, etc.
import '../types/ambient.js';

import { CompileOptions } from 'svelte/types/compiler/interfaces';
import { CompileOptions } from 'svelte/compiler';
import {
AdapterEntry,
CspDirectives,
Expand Down

0 comments on commit 8c3a992

Please sign in to comment.