Skip to content

Commit

Permalink
add DOM.Iterable to tsconfig
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkldshv committed Jul 27, 2022
1 parent 3d801d2 commit 172bca5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/polite-dolphins-pay.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

Add DOM.Iterable to default tsconfig
2 changes: 1 addition & 1 deletion packages/kit/src/core/sync/write_tsconfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export function write_tsconfig(config, cwd = process.cwd()) {

// This is required for svelte-kit package to work as expected
// Can be overwritten
lib: ['esnext', 'DOM'],
lib: ['esnext', 'DOM', 'DOM.Iterable'],
moduleResolution: 'node',
module: 'esnext',
target: 'esnext'
Expand Down

0 comments on commit 172bca5

Please sign in to comment.