Skip to content

Commit f5df421

Browse files
authored
Fix/tsconfig vite25 (#126)
* fix: remove trailing comma from tsconfig.json. see vitejs/vite#4481 * fix: use import type to avoid error
1 parent 165f725 commit f5df421

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

packages/e2e-tests/ts-type-import/src/index.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { test, Test } from './lib';
1+
import type { Test } from './lib';
2+
import { test } from './lib';
23
import App from './App.svelte';
34

45
main();
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"extends": "@tsconfig/svelte/tsconfig.json",
33
"include": ["src/**/*"],
4-
"exclude": ["node_modules"],
5-
}
4+
"exclude": ["node_modules"]
5+
}

0 commit comments

Comments
 (0)