Skip to content

Commit 61c0204

Browse files
committed
create-svelte: Use target es2020 as default in tsconfig.json
1 parent b164420 commit 61c0204

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/chilled-buses-develop.md

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

packages/create-svelte/shared/+typescript/tsconfig.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"moduleResolution": "node",
44
"module": "es2020",
55
"lib": ["es2020", "DOM"],
6-
"target": "es2019",
6+
"target": "es2020",
77
/**
88
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
99
to enforce using \`import type\` instead of \`import\` for Types.

0 commit comments

Comments
 (0)