update typescript config

This commit is contained in:
Alexander Navarro 2023-09-09 18:49:36 -03:00
parent 897148e47f
commit 34a8c1db33
4 changed files with 56 additions and 4 deletions

View file

@ -2,6 +2,17 @@
"extends": "astro/tsconfigs/strict",
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react"
"jsxImportSource": "react",
"verbatimModuleSyntax": true,
"baseUrl": ".",
"paths": {
"@components/*": ["src/components/*"],
"@layouts/*": ["src/layouts/*"]
},
"plugins": [
{
"name": "@astrojs/ts-plugin"
}
]
}
}
}