mirror of
https://github.com/withastro/astro.git
synced 2025-02-17 22:44:24 -05:00
fix(tsconfig): Update tsconfig templates to ignore 5.0 deprecations (#6605)
This commit is contained in:
parent
00838b9856
commit
2837345250
2 changed files with 9 additions and 1 deletions
5
.changeset/tiny-worms-joke.md
Normal file
5
.changeset/tiny-worms-joke.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
'astro': patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Update tsconfig.json templates to ignore TypeScript 5.0 deprecations for the moment
|
|
@ -22,6 +22,9 @@
|
||||||
"baseUrl": ".",
|
"baseUrl": ".",
|
||||||
"paths": {
|
"paths": {
|
||||||
"~/assets/*": ["src/assets/*"]
|
"~/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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue