Skip to content

Commit

Permalink
Use esnext (as does SvelteKit's tsconfig.json) (rilldata#4000)
Browse files Browse the repository at this point in the history
  • Loading branch information
ericpgreen2 authored Feb 12, 2024
1 parent 44b51b1 commit 36b82d3
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
// "extends": "./.svelte-kit/tsconfig.json",
"compilerOptions": {
"moduleResolution": "node",
"module": "es2020",
"lib": ["es2020", "DOM"],
"target": "es2020",
"module": "esnext",
"lib": [
"esnext",
"DOM",
"DOM.Iterable"
],
"target": "esnext",
/**
svelte-preprocess cannot figure out whether you have a value or a type, so tell TypeScript
to enforce using \`import type\` instead of \`import\` for Types.
Expand Down

0 comments on commit 36b82d3

Please sign in to comment.