fix: the disrespect for the ts compiler

This commit is contained in:
Oleksandr 2026-02-13 17:18:00 +02:00
parent 8c961c729b
commit af899b4ce5
Signed by: Xanazf
GPG key ID: 821EEC32761AC17C
11 changed files with 53 additions and 72 deletions

View file

@ -1,7 +1,9 @@
{
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"lib": ["es2016"],
"lib": [
"es2023"
],
"plugins": [
{
"name": "@astrojs/ts-plugin"
@ -12,16 +14,36 @@
"verbatimModuleSyntax": true,
"baseUrl": ".",
"paths": {
"@*": ["./*"],
"@/*": ["./src/*"],
"@config/*": ["./src/config/*"],
"@icons": ["./src/components/icons.tsx"],
"@icons/*": ["./src/icons/*"],
"@components/*": ["./src/components/*"],
"@layouts/*": ["./src/layouts/*"],
"@styles/*": ["./src/styles/*"],
"@_types": ["./src/config/_types/index.ts"],
"@_types/*": ["./src/config/_types/*"]
"@*": [
"./*"
],
"@/*": [
"./src/*"
],
"@config/*": [
"./src/config/*"
],
"@icons": [
"./src/components/icons.tsx"
],
"@icons/*": [
"./src/icons/*"
],
"@components/*": [
"./src/components/*"
],
"@layouts/*": [
"./src/layouts/*"
],
"@styles/*": [
"./src/styles/*"
],
"@_types": [
"./src/config/_types/index.ts"
],
"@_types/*": [
"./src/config/_types/*"
]
}
}
}