Skip to content

Commit

Permalink
fix: add ambient module types to published files (#980)
Browse files Browse the repository at this point in the history
  • Loading branch information
ignatiusmb authored Apr 13, 2021
1 parent 315ac1a commit 4c45784
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .changeset/gorgeous-donkeys-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'create-svelte': patch
'@sveltejs/kit': patch
---

Add ambient types to published files
1 change: 0 additions & 1 deletion packages/create-svelte/template/jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"$app/*": [".svelte/dev/runtime/app/*", ".svelte/build/runtime/app/*"],
"$lib/*": ["src/lib/*"]
}
},
Expand Down
1 change: 1 addition & 0 deletions packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
"assets",
"dist",
"types.d.ts",
"types.ambient-modules.d.ts",
"types.internal.d.ts",
"svelte-kit.js"
],
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/kit/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import './types.ambient';
import './types.ambient-modules';
import { Headers, ErrorLoadInput, LoadInput, LoadOutput, Logger } from './types.internal';
import { UserConfig as ViteConfig } from 'vite';

Expand Down

0 comments on commit 4c45784

Please sign in to comment.