Skip to content

Commit 24cbed4

Browse files
committed
fix *.svelte type declarations
1 parent 0592749 commit 24cbed4

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/frontend/main.ts

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import "svelte";
12
import App from "./App.svelte";
23

34
const app = new App({

tsconfig.svelte.json

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": "@tsconfig/svelte/tsconfig.json",
33
"compilerOptions": {
4+
"types": ["node", "svelte"],
45
"sourceMap": true,
56
"target": "ESNext",
67
"stripInternal": true,

0 commit comments

Comments
 (0)