Skip to content

Commit

Permalink
fix(tsconfig): Update tsconfig templates to ignore 5.0 deprecations (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
Princesseuh committed Mar 20, 2023
1 parent 00838b9 commit 2837345
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tiny-worms-joke.md
@@ -0,0 +1,5 @@
---
'astro': patch
---

Update tsconfig.json templates to ignore TypeScript 5.0 deprecations for the moment
5 changes: 4 additions & 1 deletion packages/astro/tsconfigs/base.json
Expand Up @@ -22,6 +22,9 @@
"baseUrl": ".",
"paths": {
"~/assets/*": ["src/assets/*"]
}
},
// TypeScript 5.0 changed how `isolatedModules` and `importsNotUsedAsValues` works, deprecating the later
// Until the majority of users are on TypeScript 5.0, we'll have to supress those deprecation errors
"ignoreDeprecations": "5.0"
}
}

0 comments on commit 2837345

Please sign in to comment.