Skip to content

Commit ad7d863

Browse files
committed
Set target to ESNext in default tsconfig.json
1 parent 96cbda3 commit ad7d863

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/shaggy-elephants-sell.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'create-svelte': patch
3+
---
4+
5+
Set target to ESNext in default tsconfig.json

packages/create-svelte/template-additions/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"moduleResolution": "node",
4-
"target": "es2018",
4+
"target": "ESNext",
55
/**
66
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
77
to enforce using \`import type\` instead of \`import\` for Types.

0 commit comments

Comments
 (0)